isGreaterThan

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

Return

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

Parameters

value

the value that must greater than otherValue.

otherValue

the other value that value must be greater than.


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

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

Return

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

Parameters

value

the value that must greater than otherValue.

otherValue

the other value that value must be greater than.


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

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

Return

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

Parameters

value

the value that must greater than otherValue.

otherValue

the other value that value must be greater than.


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

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

Return

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

Parameters

value

the value that must greater than otherValue.

otherValue

the other value that value must be greater than.