Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

is-date-obj

kevva80MIT1.0.0

My incredible module

check, date, object

readme

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