mirror of
https://github.com/tiennm99/FBcount.git
synced 2026-05-20 07:25:48 +00:00
Init
This commit is contained in:
+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