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