dateGreaterThan
dateGreaterThan() tests whether a Date (wrapped) is strictly after a threshold (Date wrapped or DDate.TheDate). Supports the curried version.
Interactive example
Syntax
Classic signature
typescript
function dateGreaterThan(
primitive: Date,
threshold: Date | TheDate
): booleanCurried signature
typescript
function dateGreaterThan(
threshold: Date | TheDate
): (primitive: Date) => booleanParameters
primitive: wrappedDate(classic signature only).threshold: comparison threshold.
Return value
true if primitive > threshold, otherwise false.
