npm.io
1.0.0 • Published 10 years ago

is-date-obj

Licence
MIT
Version
1.0.0
Deps
0
Vulns
0
Weekly
0
Stars
4

is-date-obj Build Status

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

Keywords