is From Inclusive To Inclusive
fun isFromInclusiveToInclusive(value: Double, validRange: ClosedFloatingPointRange<Double>): PropertyState<Double>(source)
Check if the Double value is within a range (inclusive).
Return
property state Correct containing value if value is within validRange (inclusive). Otherwise Incorrect.
Parameters
value
the value that must be within validRange (inclusive).
valid Range
the range (inclusive) where value must be in.
fun isFromInclusiveToInclusive(value: Float, validRange: ClosedFloatingPointRange<Float>): PropertyState<Float>(source)
Check if the Float value is within a range (inclusive).
Return
property state Correct containing value if value is within validRange (inclusive). Otherwise Incorrect.
Parameters
value
the value that must be within validRange (inclusive).
valid Range
the range (inclusive) where value must be in.