{"size": 683, "ext": "js", "max_stars_repo_path": "lib/index.js", "max_stars_repo_name": "validate-io/strict-date", "max_stars_repo_stars_event_min_datetime": "2015-02-20T04:04:39.000Z", "max_stars_repo_stars_event_max_datetime": "2015-02-23T05:59:58.000Z", "max_issues_repo_path": "lib/index.js", "max_issues_repo_name": "validate-io/strict-date", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "lib/index.js", "max_forks_repo_name": "validate-io/strict-date", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 12.8867924528, "max_line_length": 70, "alphanum_fraction": 0.6237188873}
/**
*
*	VALIDATE: strict-date
*
*
*	DESCRIPTION:
*		- Validates if a value is a Date object.
*
*
*	NOTES:
*		[1]
*
*
*	TODO:
*		[1]
*
*
*	LICENSE:
*		MIT
*
*	Copyright (c) 2014. Athan Reines.
*
*
*	AUTHOR:
*		Athan Reines. kgryte@gmail.com. 2014.
*
*/

'use strict';

// VARIABLES //

var toString = Object.prototype.toString;


// ISDATE //

/**
* FUNCTION: isDate( value )
*	Validates if a value is a Date object.
*
* @param {*} value - value to be validated
* @returns {Boolean} boolean indicating whether value is a Date object
*/
function isDate( value ) {
	return toString.call( value ) === '[object Date]';
} // end FUNCTION isDate()


// EXPORTS //

module.exports = isDate;
