Function: isDateInterval()
isDateInterval(
matcher):matcher is DateInterval
Defined in: src/utils/typeguards.ts:17
Checks if the given value is of type DateInterval.
Parameters
| Parameter | Type | Description |
|---|---|---|
matcher | unknown | The value to check. |
Returns
matcher is DateInterval
true if the value is a DateInterval, otherwise false.