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

Method randomize

src/Form.js:207–212  ·  view source on GitHub ↗

* Randomizes visible randomizable fields. * @return {Form} Fluent interface

()

Source from the content-addressed store, hash-verified

205 * @return {Form} Fluent interface
206 */
207 randomize () {
208 this._fields
209 .filter(field => field.isVisible() && field.isRandomizable())
210 .forEach(field => field.randomize())
211 return this
212 }
213
214 /**
215 * Returns the delegate.

Callers 2

Field.jsFile · 0.45
Form.jsFile · 0.45

Calls 2

isVisibleMethod · 0.45
isRandomizableMethod · 0.45

Tested by

no test coverage detected