blockly > FieldNumber > getMax

FieldNumber.getMax() method

Returns the current maximum value this field can contain. Default is Infinity.

Signature:

getMax(): number;

Returns:

number

The current maximum value this field can contain.