Skip to main content

Home > blockly > FieldNumber > setMin

FieldNumber.setMin() method

Sets the minimum value this field can contain. Updates the value to reflect.

Signature:

setMin(min: number | string | undefined | null): void;

Parameters

ParameterTypeDescription
minnumber | string | undefined | nullMinimum value.

Returns:

void