is-date.js 140 Bytes Raw Blame History Permalink 1 2 3 export default function isDate(input) { return input instanceof Date || Object.prototype.toString.call(input) === '[object Date]'; }