Skip to main content
Version: next

Function: isDateInterval()

isDateInterval(matcher): matcher is DateInterval

Defined in: src/utils/typeguards.ts:17

Checks if the given value is of type DateInterval.

Parameters

Returns

matcher is DateInterval

true if the value is a DateInterval, otherwise false.