hao
2025-05-30 11f614080f28818e6627794b9f802d6a399579f4
1
2
3
4
import { isNaN } from './number';
export function isDate(val) {
  return Object.prototype.toString.call(val) === '[object Date]' && !isNaN(val.getTime());
}