File: isArray.js

package info (click to toggle)
node-theming 3.3.0%2B~cs1.2.8-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 960 kB
  • sloc: javascript: 3,830; makefile: 18
file content (5 lines) | stat: -rw-r--r-- 130 bytes parent folder | download | duplicates (9)
1
2
3
4
5
var toString = {}.toString;

export default Array.isArray || function (arr) {
  return toString.call(arr) == '[object Array]';
};