isdate js code example
Example: isDate javascript
// Requiring module
const moment = require('moment');
function checkIsDate(obj) {
return moment.isDate(obj);
}
var bool = checkIsDate(new Date());
console.log(bool);
// Requiring module
const moment = require('moment');
function checkIsDate(obj) {
return moment.isDate(obj);
}
var bool = checkIsDate(new Date());
console.log(bool);