]> git.r.bdr.sh - rbdr/dotfiles/blob
6ba236ecbc0783b192941477dde8672acff993a3
[rbdr/dotfiles] /
1 'use strict';
2
3 var toString = Object.prototype.toString
4
5 , id = toString.call(new Date());
6
7 module.exports = function (x) {
8 return (x && ((x instanceof Date) || (toString.call(x) === id))) || false;
9 };