Package: effect
Module: Duration
Checks whether the first Duration is greater than the second.
Example (Comparing durations with greater than)
import { Duration } from "effect"
const isGreater = Duration.isGreaterThan(Duration.seconds(5), Duration.seconds(3))
console.log(isGreater) // true
Signature
declare const isGreaterThan: { (that: Duration): (self: Duration) => boolean; (self: Duration, that: Duration): boolean; }
Since v4.0.0