UNPKG

underscore-es

Version:

javaScript's functional programming helper library for ES6 and beyond.

12 lines (9 loc) 345 B
// `_isArray` : an object's function // ---------------------------------- import {nativeIsArray, toString} from './_quickaccess'; // Is a given value an array? // Delegates to ECMA5's native Array.isArray export var _isArray = nativeIsArray || function (obj) { return toString.call(obj) === '[object Array]'; } export {_isArray as default};