You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1234567891011 |
- "use strict";
-
- var isArray = Array.isArray, getPrototypeOf = Object.getPrototypeOf;
-
- module.exports = function (obj) {
- var proto;
- if (!obj || !isArray(obj)) return false;
- proto = getPrototypeOf(obj);
- if (!isArray(proto)) return false;
- return !isArray(getPrototypeOf(proto));
- };
|