UNPKG

validatees

Version:

✅ Validation library for ES6+ modules

9 lines (8 loc) 275 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isDate = void 0; function isDate(value) { return value instanceof Date || Object.prototype.toString.call(value) === "[object Date]"; } exports.isDate = isDate; exports.default = isDate;