Answers for "isDate javascript"

0

isDate javascript

// Requiring module 
const moment = require('moment'); 
  
function checkIsDate(obj) { 
   return moment.isDate(obj); 
} 
  
var bool = checkIsDate(new Date()); 
console.log(bool);
Posted by: Guest on February-17-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language