checkCondition

suspend fun checkCondition(value: T)

Updates the value and then checks the condition to see if it's satisfied.