UNPKG

@qelos/assets

Version:

manage assets like images and static files on remote servers

11 lines (8 loc) 328 B
var isNullOrUndefined = require('../internals/is-null-or-undefined'); var $TypeError = TypeError; // `RequireObjectCoercible` abstract operation // https://tc39.es/ecma262/#sec-requireobjectcoercible module.exports = function (it) { if (isNullOrUndefined(it)) throw $TypeError("Can't call method on " + it); return it; };