lessTime
The lessTime() function checks if a TheTime is less than or equal to a threshold.
Interactive example
Syntax
Standard signature
typescript
function lessTime<
GenericInput extends TheTime | SerializedTheTime
>(
input: GenericInput,
threshold: TheTime | SerializedTheTime
): booleanCurried signature
typescript
function lessTime<
GenericInput extends TheTime | SerializedTheTime
>(
threshold: TheTime | SerializedTheTime
): (input: GenericInput) => booleanParameters
threshold: Duration limit.input:TheTimeorSerializedTheTime.
Return value
true if input is less than or equal to the threshold.
