greaterTime
La fonction greaterTime() vérifie si un TheTime est supérieur ou égal à un seuil.
Exemple interactif
Syntaxe
Signature classique
typescript
function greaterTime<
GenericInput extends TheTime | SerializedTheTime
>(
input: GenericInput,
threshold: TheTime | SerializedTheTime
): booleanSignature currifiée
typescript
function greaterTime<
GenericInput extends TheTime | SerializedTheTime
>(
threshold: TheTime | SerializedTheTime
): (input: GenericInput) => booleanParamètres
threshold: Durée de comparaison.input:TheTimeouSerializedTheTime.
Valeur de retour
true si input est supérieure ou égale à threshold.
