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

Method checkOptions

api/1.4/api.js:323–330  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

321 }
322
323 checkOptions(options) {
324 let keys = Object.keys(options);
325 for (let i = 0; i < keys.length; i++) {
326 if (Array.isArray(options[keys[i]])) {
327 options[keys[i]] = options[keys[i]][options[keys[i]].length-1];
328 }
329 }
330 }
331
332 genPassword() {
333 if (this.password.length === 0) {

Callers 1

generateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected