UNPKG

schedulejs

Version:

Schedule tasks, meetings, appointments, etc

10 lines (8 loc) 303 B
// Returns true if an object is an array, false if it is not. // // From https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray if(!Array.isArray) { Array.isArray = function (vArg) { return Object.prototype.toString.call(vArg) === "[object Array]"; }; }