5 lines
138 B
JavaScript
5 lines
138 B
JavaScript
|
var isTypedArray = require('./is-typed-array')
|
||
|
module.exports = function isArrayLike (s) {
|
||
|
return Array.isArray(s) || isTypedArray(s)
|
||
|
}
|