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

Method randomNat

api/1.2/api.js:278–280  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

276
277 // Return random nat to use
278 randomNat() {
279 return this.nats[range(0, this.nats.length - 1)];
280 }
281
282 // Make sure nat is available
283 validNat(nat) {

Callers 1

generateMethod · 0.95

Calls 1

rangeFunction · 0.70

Tested by

no test coverage detected