is-date.js 137 Bytes edit raw blame history 1 2 3 export default function isDate(input) { return input instanceof Date || Object.prototype.toString.call(input) === '[object Date]'; }