UNPKG

348 BTypeScriptView Raw
1/**
2 * Checks to see if a value is not only a `Date` object,
3 * but a *valid* `Date` object that can be converted to a
4 * number. For example, `new Date('blah')` is indeed an
5 * `instanceof Date`, however it cannot be converted to a
6 * number.
7 */
8export declare function isValidDate(value: any): value is Date;
9//# sourceMappingURL=isDate.d.ts.map
\No newline at end of file