UNPKG

jqb-isarray

Version:

define if a given input is an array

14 lines (11 loc) 242 B
/** * jQbrick - isArray() * (http://underscorejs.org/#isArray) * * return true if the given input is an array * */ 'use strict'; module.exports = Array.isArray || function(obj) { return toString.call(obj) == '[object Array]'; };