npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

is-date-obj

1.0.0

@kevva

npmHomeRepoSnykSocket
Downloads:1115
$ npm install is-date-obj
DailyWeeklyMonthlyYearly

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