/**
|
* @fileoverview Check whether the given variable is an instance of Date or not.
|
* @author NHN FE Development Lab <dl_javascript@nhn.com>
|
*/
|
|
'use strict';
|
|
/**
|
* Check whether the given variable is an instance of Date or not.
|
* If the given variables is an instance of Date, return true.
|
* @param {*} obj - Target for checking
|
* @returns {boolean} Is an instance of Date?
|
* @memberof module:type
|
*/
|
function isDate(obj) {
|
return obj instanceof Date;
|
}
|
|
module.exports = isDate;
|