isDate.ts 104 Bytes
export function isDate(value: any): value is Date {
  return value instanceof Date && !isNaN(+value);
}