Function: isLuxonInterval()
ts
function isLuxonInterval(value: unknown): value is Interval<boolean>;Type guard to check if a value is a Luxon Interval instance
Parameters
| Parameter | Type | Description |
|---|---|---|
value | unknown | The value to check |
Returns
value is Interval<boolean>
True if the value is a Luxon Interval, false otherwise