isDate

Lang
since 0.1.0

Arguments

  • * The value to check.

Returns

boolean `true` if `value` is a date object, else `false`.

Checks if value is classified as a Date object.

Example of Lodash _.isDate

_.isDate(new Date);
// => true

_.isDate('Mon April 23 2012');
// => false