assertCondition

fun assertCondition(condition: Boolean, message: String)

Asserts the given condition, throwing an AssertionException if the condition doesn't hold. This logs an assertion with ReactSoftExceptionLogger, which decides whether or not to actually throw.