import { isDefined } from '../type-guards';
export var isDateRange = function (value) {
    return Array.isArray(value) &&
        value.length === 2 &&
        value.every(function (date) { return date instanceof Date || !isDefined(date); });
};
