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