isNotGreaterThan

Check if the Double value is not greater than the given maximum value.

Return

property state Correctcontaining [value] if value` is equal to or less than maximumValue. Otherwise Incorrect.

Parameters

value

the value that must be equal to or less than maximumValue.

maximumValue

the maximum value that value must be equal to or less than.


fun isNotGreaterThan(value: Float, maximumValue: Float): PropertyState<Float>(source)

Check if the Float value is not greater than the given maximum value.

Return

property state Correct containing value if value is equal to or less than maximumValue. Otherwise Incorrect.

Parameters

value

the value that must be equal to or less than maximumValue.

maximumValue

the maximum value that value must be equal to or less than.


fun isNotGreaterThan(value: Int, maximumValue: Int): PropertyState<Int>(source)

Check if the Int value is not greater than the given maximum value.

Return

property state Correct containing value if value is equal to or less than maximumValue. Otherwise Incorrect.

Parameters

value

the value that must be equal to or less than maximumValue.

maximumValue

the maximum value that value must be equal to or less than.


fun isNotGreaterThan(value: Long, maximumValue: Long): PropertyState<Long>(source)

Check if the Long value is not greater than the given maximum value.

Return

property state Correct containing value if value is equal to or less than maximumValue. Otherwise Incorrect.

Parameters

value

the value that must be equal to or less than maximumValue.

maximumValue

the maximum value that value must be equal to or less than.