UNPKG

pimatic

Version:

A home automation server and framework for the Raspberry PI running on node.js

4 lines (3 loc) 137 B
export default function isDate(input) { return input instanceof Date || Object.prototype.toString.call(input) === '[object Date]'; }