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