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