back to Overview

_.isDate()

Checks whether the given object is a Date.
Util module only.

Syntax

_.isDate(obj)

Parameters

obj
the object to test
(return value)
true if the object is a Date, false otherwise.

Description

Checks whether the given object is a Date. To be recognized as a date, the object must pass _.isObject() and have a getDate property.

See also..

Comments

comments powered by Disqus

back to Overview

Functions