isLessThan

fun isLessThan(value: Double, otherValue: Double): PropertyState<Double>(source)

Check if the Double value is less than the given other value.

Return

property state Correct containing value if value is less than otherValue. Otherwise Incorrect.

Parameters

value

the value that must less than otherValue.

otherValue

the other value that value must be less than.


fun isLessThan(value: Float, otherValue: Float): PropertyState<Float>(source)

Check if the Float value is less than the given other value.

Return

property state Correct containing value if value is less than otherValue. Otherwise Incorrect.

Parameters

value

the value that must less than otherValue.

otherValue

the other value that value must be less than.


fun isLessThan(value: Int, otherValue: Int): PropertyState<Int>(source)

Check if the Int value is less than the given other value.

Return

property state Correct containing value if value is less than otherValue. Otherwise Incorrect.

Parameters

value

the value that must less than otherValue.

otherValue

the other value that value must be less than.


fun isLessThan(value: Long, otherValue: Long): PropertyState<Long>(source)

Check if the Long value is less than the given other value.

Return

property state Correct containing value if value is less than otherValue. Otherwise Incorrect.

Parameters

value

the value that must less than otherValue.

otherValue

the other value that value must be less than.