UNPKG

181 BJavaScriptView Raw
1'use strict';
2var $TypeError = TypeError;
3
4module.exports = function (passed, required) {
5 if (passed < required) throw new $TypeError('Not enough arguments');
6 return passed;
7};