MCPcopy Create free account
hub / github.com/cnodejs/egg-cnode / random

Function random

app/public/libs/lodash.compat.js:6448–6477  ·  view source on GitHub ↗

* Produces a random number between `min` and `max` (inclusive). If only one * argument is provided a number between `0` and the given number will be * returned. If `floating` is truey or either `min` or `max` are floats a * floating-point number will be returned instead of an integer.

(min, max, floating)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

baseRandomFunction · 0.85

Tested by

no test coverage detected