diff --git a/lib/random/random.js b/lib/random/random.js index 403a59a..3a86f64 100644 --- a/lib/random/random.js +++ b/lib/random/random.js @@ -114,11 +114,6 @@ class random { * @returns {*} */ static pick (obj) { - if (!(Array.isArray(obj) || typeof obj === 'function')) { - logger.traceback() - throw new TypeError(`random.pick() received invalid object: (${obj})`) - } - if (typeof obj === 'function') { return obj() } else if (Array.isArray(obj)) {