Added npm dependency

This commit is contained in:
Pedro Pinto committed 2020-05-19 11:51:04 -04:00
1 parent 888dd9af1e
commit 8dfc6caa7e
21061 files changed
+3885381

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
"use strict";
var isArray = Array.isArray;
module.exports = function (value) {
if (isArray(value)) return value;
throw new TypeError(value + " is not an array");
};