between
Checks that a TheDate is strictly between two bounds (greater then less).
Interactive example
Syntax
Classic signature
typescript
function between<
GenericInput extends TheDate
>(
input: GenericInput,
greater: TheDate,
less: TheDate
): booleanCurried signature
typescript
function between<
GenericInput extends TheDate
>(
greater: TheDate,
less: TheDate
): (input: GenericInput) => booleanParameters
greater: Lower bound (exclusive).less: Upper bound (exclusive).input: Date to test.
Return value
true if the input lies strictly between the two bounds.
