and

open override fun and(otherCondition: TValue.() -> Boolean): PropertyState<TValue>(source)

Check another rule for the property.

Return

the new property state. This state if otherCondition holds. Otherwise Incorrect.

Parameters

otherCondition

the condition the property must also comply with. This function is always invoked by this state.