mirror of
https://github.com/tiennm99/MTTools.git
synced 2026-10-10 14:14:46 +00:00
Init
This commit is contained in:
1 parent
626956b745
commit
823b914aa6
4280 files changed
+484929
No files matched your search
+8
@@ -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");
|
||||
};
|
||||
Reference in new issue
Block a user