初始化
This commit is contained in:
11
node_modules/xml-js/lib/array-helper.js
generated
vendored
Normal file
11
node_modules/xml-js/lib/array-helper.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
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]';
|
||||
}
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user