greater
The greater() function checks whether a TheDate is strictly greater than a threshold.
Interactive example
Syntax
Classic signature
typescript
function greater<
GenericInput extends TheDate
>(
input: GenericInput,
threshold: TheDate
): booleanCurried signature
typescript
function greater<
GenericInput extends TheDate
>(
threshold: TheDate
): (input: GenericInput) => booleanParameters
threshold: Comparison date.input: Date under test (classic signature).
Return value
true if input is strictly after threshold.
