☰
Debian Codegraph
@
0.1.1-5.1
0.1.1-5
/
/
vendor
/
static
/
moment
/
src
/
lib
/
utils
/
is-array.js
☽
☼
vendor/static/moment/src/lib/utils/is-array.js
code
plain
raw
Expat
JS Foundation and other contributors; Tim Wood, Iskren Chernev, Moment.js contributors
debian/copyright
1
export default function isArray(input) {
2
return (
3
input instanceof Array ||
4
Object.prototype.toString.call(input) === '[object Array]'
5
);
6
}