6 lines
130 B
JavaScript
6 lines
130 B
JavaScript
|
var toString = {}.toString;
|
||
|
|
||
|
export default Array.isArray || function (arr) {
|
||
|
return toString.call(arr) == '[object Array]';
|
||
|
};
|