MCPcopy Create free account
hub / github.com/cryptii/cryptii / randomizeValue

Method randomizeValue

src/Field.js:324–326  ·  view source on GitHub ↗

* Returns a randomly chosen value or `null` if not applicable. * @override * @param {Random} random Random number generator * @return {mixed} Randomly chosen value

(random)

Source from the content-addressed store, hash-verified

322 * @return {mixed} Randomly chosen value
323 */
324 randomizeValue (random) {
325 return this.randomizeValueWithCallback(random)
326 }
327
328 /**
329 * Returns a randomly chosen value using the custom randomize value callback.

Callers 2

randomizeMethod · 0.95
Field.jsFile · 0.45

Calls 1

Tested by

no test coverage detected