greaterThanTime
Checks whether a TheTime is greater than or equal to a threshold.
Interactive example
Syntax
Standard signature
typescript
function greaterThanTime<
GenericInput extends TheTime
>(
input: GenericInput,
threshold: TheTime
): booleanCurried signature
typescript
function greaterThanTime<
GenericInput extends TheTime
>(
threshold: TheTime
): (input: GenericInput) => booleanParameters
threshold: Duration limit.input: Duration to compare.
Return value
true if input is greater than or equal to the threshold.
