xwt
2025-09-17 7c2192a2f000d94add173b77b6bd4c8c4fc6a5e4
1
2
3
4
import { isNaN } from './number';
export function isDate(val) {
  return Object.prototype.toString.call(val) === '[object Date]' && !isNaN(val.getTime());
}