diff options
Diffstat (limited to 'node_modules/concordance/lib/hasLength.js')
-rw-r--r-- | node_modules/concordance/lib/hasLength.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/node_modules/concordance/lib/hasLength.js b/node_modules/concordance/lib/hasLength.js deleted file mode 100644 index 18df0d369..000000000 --- a/node_modules/concordance/lib/hasLength.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict' - -const hop = Object.prototype.hasOwnProperty -function hasLength (obj) { - return Array.isArray(obj) || (hop.call(obj, 'length') && typeof obj.length === 'number') -} -module.exports = hasLength |