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

Method isValid

src/Form.js:190–192  ·  view source on GitHub ↗

* Returns true, if the form is valid. * @return {boolean} True, if valid

()

Source from the content-addressed store, hash-verified

188 * @return {boolean} True, if valid
189 */
190 isValid () {
191 return this.getInvalidFields().length === 0
192 }
193
194 /**
195 * Returns true, if the form is randomizable.

Callers 15

Field.jsFile · 0.45
Form.jsFile · 0.45
getInvalidFieldsMethod · 0.45
brickDragWillStartMethod · 0.45
brickDragDidStartMethod · 0.45
updateMethod · 0.45
validateSlopeValueMethod · 0.45
randomizeSlopeValueMethod · 0.45
settingValueDidChangeMethod · 0.45
randomizeShiftValueMethod · 0.45

Calls 1

getInvalidFieldsMethod · 0.95

Tested by

no test coverage detected