src/utils.js
/**
 * Predicate function to determine if an input array is "array like".
 * isArrayLike(array: Any) -> Boolean
 */
Predicate function to determine if an input array is "array like".
Predicate function to determine if an input array is " array like " .
function isArrayLike(array) {
  return Boolean(array && (
       Array.isArray(array)
    || (array instanceof TypedArray || isTypedArray(array))
    || 'number' == array.length
    || 'function' == typeof array[Symbol.iterator])
  )
}
function isArrayLike ( array ) { return Boolean ( array && ( Array . isArray ( array ) || ( array instanceof TypedArray || isTypedArray ( array ) ) || 'number' == array . length || 'function' == typeof array [ Symbol . iterator ] ) ) }
Predicate function to determine if an input array is "array like".
Predicate function to determine if an input array is " array like " .