mirror of
https://github.com/tiennm99/MTTools.git
synced 2026-10-09 22:15:16 +00:00
Init
This commit is contained in:
1 parent
b5c881f56f
commit
6ba2247509
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