MCPcopy
hub / github.com/RaspberryPiFoundation/blockly / setMin

Method setMin

packages/blockly/core/field_number.ts:130–133  ·  view source on GitHub ↗

* Sets the minimum value this field can contain. Updates the value to * reflect. * * @param min Minimum value.

(min: number | string | undefined | null)

Source from the content-addressed store, hash-verified

128 * @param min Minimum value.
129 */
130 setMin(min: number | string | undefined | null) {
131 this.setMinInternal(min);
132 this.setValue(this.getValue());
133 }
134
135 /**
136 * Sets the minimum value this field can contain. Called internally to avoid

Callers 1

Calls 2

setMinInternalMethod · 0.95
getValueMethod · 0.45

Tested by

no test coverage detected