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