source: trip-planner-front/node_modules/rxjs/src/internal/util/isDate.ts

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 104 bytes
Line 
1export function isDate(value: any): value is Date {
2 return value instanceof Date && !isNaN(+value);
3}
Note: See TracBrowser for help on using the repository browser.