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