hugoWebsite/node_modules/defined/index.js
Jeremy Nusser 0ab675d92b Initial commit... 🎉🎉🎉
2022-10-28 17:20:35 -05:00

9 lines
178 B
JavaScript

'use strict';
module.exports = function defined() {
for (var i = 0; i < arguments.length; i++) {
if (typeof arguments[i] !== 'undefined') {
return arguments[i];
}
}
};