MCPcopy Create free account
hub / github.com/RandomAPI/Randomuser.me-Node / checkOptions

Method checkOptions

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

Source from the content-addressed store, hash-verified

314 }
315
316 checkOptions(options) {
317 let keys = Object.keys(options);
318 for (let i = 0; i < keys.length; i++) {
319 if (Array.isArray(options[keys[i]])) {
320 options[keys[i]] = options[keys[i]][options[keys[i]].length-1];
321 }
322 }
323 }
324
325 genPassword() {
326 if (this.password.length === 0) {

Callers 1

generateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected