less
Checks that a TheDate is strictly less than a threshold.
Interactive example
Syntax
Classic signature
typescript
function less<
GenericInput extends TheDate
>(
input: GenericInput,
threshold: TheDate
): booleanCurried signature
typescript
function less<
GenericInput extends TheDate
>(
threshold: TheDate
): (input: GenericInput) => booleanParameters
threshold: Limit date.input: Date under test.
Return value
true if input is before threshold.
