1.0.0 • Published 8 years ago
is-date-obj v1.0.0
is-date-obj
Check if an object is a
Date
object
Install
$ npm install --save is-date-obj
Usage
const isDateObj = require('is-date-obj');
isDateObj(new Date());
//=> true
isDateObj({});
//=> false
API
isDateObj(input)
input
Value to check if it's a Date
object.
License
MIT © Kevin Martensson
1.0.0
8 years ago