greaterTime
The greaterTime() function checks if a TheTime is strictly greater than a threshold.
Interactive example
Syntax
Standard signature
typescript
function greaterTime<
GenericInput extends TheTime
>(
input: GenericInput,
threshold: TheTime
): booleanCurried signature
typescript
function greaterTime<
GenericInput extends TheTime
>(
threshold: TheTime
): (input: GenericInput) => booleanParameters
threshold: Comparison duration.input: Duration to test (standard signature).
Return value
true if input is strictly greater than threshold.
