Node.js examples for Data Type:Type Check
Is object Date type
function isDate(d) { return isObject(d) && objectToString(d) === '[object Date]'; } function isObject(arg) { return typeof arg === 'object' && arg !== null; }