is-date-obj

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i is-date-obj

Weekly Downloads

10

Version

1.0.0

License

MIT

Last publish

Collaborators

  • kevva