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