Date.isDate >= 0.1.2

Purpose

Determine if a variable is a date object

Syntax

Date.isDate ( Objectvariable );

Parameters

variable

Return values

Boolean

Examples

var date = Date.create();

Date.isDate(date);
>>> true

Comments