MCPcopy Index your code
hub / github.com/RandomAPI/Randomuser.me-Node / uppercaseify

Function uppercaseify

api/1.3/api.js:434–442  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

432}
433
434function uppercaseify(val) {
435 if (Array.isArray(val)) {
436 return val.map(str => {
437 return str.toUpperCase();
438 });
439 } else {
440 return val.toUpperCase();
441 }
442}
443
444function include(inc, contents, field, value) {
445 if (inc.indexOf(field) !== -1) {

Callers 1

generateMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected