Over a million developers have joined DZone.

JavaScript IsDate Function

DZone's Guide to

JavaScript IsDate Function

· Web Dev Zone
Free Resource

Tips, tricks and tools for creating your own data-driven app, brought to you in partnership with Qlik.

function isDate (x) 
  return (null != x) && !isNaN(x) && ("undefined" !== typeof x.getDate); 

Explore data-driven apps with less coding and query writing, brought to you in partnership with Qlik.


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}