blockly > Arbeitsbereich > hasBlockLimits
Methode Workspace.hasBlockLimits()
Prüft, ob im Arbeitsbereich Beschränkungen für die maximale Anzahl von Blöcken oder für die maximale Anzahl von Blöcken bestimmter Typen gelten.
Unterschrift:
hasBlockLimits(): boolean;
Gibt zurück:
boolean
Der Wert ist "True", wenn es Blocklimits gibt, andernfalls "False".
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-10-15 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-10-15 (UTC)."],[[["The `Workspace.hasBlockLimits()` method determines if a Blockly workspace has limitations on the total number of blocks or the number of blocks of specific types that can be used."],["It returns `true` if limits exist for the workspace, indicating restrictions on block usage, and `false` otherwise, signifying no limitations on the number of blocks."]]],[]]