package.internals.validate-arguments-length.js Maven / Gradle / Ivy
The newest version!
'use strict';
var $TypeError = TypeError;
module.exports = function (passed, required) {
if (passed < required) throw new $TypeError('Not enough arguments');
return passed;
};
© 2015 - 2024 Weber Informatics LLC | Privacy Policy