lessThanTime
Checks whether a TheTime is strictly less than a threshold.
Interactive example
Syntax
Standard signature
typescript
function lessThanTime<
GenericInput extends TheTime | SerializedTheTime
>(
input: GenericInput,
threshold: TheTime | SerializedTheTime
): booleanCurried signature
typescript
function lessThanTime<
GenericInput extends TheTime | SerializedTheTime
>(
threshold: TheTime | SerializedTheTime
): (input: GenericInput) => booleanParameters
threshold: Duration limit.input:TheTimeorSerializedTheTime.
Return value
true if input is strictly less than the threshold.
