Stay organized with collections
Save and categorize content based on your preferences.
blockly > FieldNumber > getMin
FieldNumber.getMin() method
Returns the current minimum value this field can contain. Default is -Infinity.
Signature:
getMin(): number;
Returns:
number
The current minimum value this field can contain.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003e\u003ccode\u003eFieldNumber.getMin()\u003c/code\u003e returns the minimum value allowed for the field, which defaults to -Infinity.\u003c/p\u003e\n"],["\u003cp\u003eThe method's signature is \u003ccode\u003egetMin(): number;\u003c/code\u003e, indicating it returns a numeric value representing the minimum constraint.\u003c/p\u003e\n"],["\u003cp\u003eThis function is useful for understanding the limitations placed on a specific \u003ccode\u003eFieldNumber\u003c/code\u003e instance within Blockly.\u003c/p\u003e\n"]]],[],null,["[blockly](./blockly.md) \\\u003e [FieldNumber](./blockly.fieldnumber_class.md) \\\u003e [getMin](./blockly.fieldnumber_class.getmin_1_method.md)\n\nFieldNumber.getMin() method\n---------------------------\n\nReturns the current minimum value this field can contain. Default is -Infinity.\n\n**Signature:** \n\n getMin(): number;\n\n**Returns:**\n\nnumber\n\nThe current minimum value this field can contain."]]