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

Method checkOptions

api/1.3/api.js:319–326  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

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

Callers 1

generateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected