Files
est-frame/node_modules/xml-js/lib/array-helper.js
2025-10-22 05:38:27 +00:00

12 lines
253 B
JavaScript
Executable File

module.exports = {
isArray: function(value) {
if (Array.isArray) {
return Array.isArray(value);
}
// fallback for older browsers like IE 8
return Object.prototype.toString.call( value ) === '[object Array]';
}
};