blockly > Verbindung > isSuperior
Methode Connection.isSuperior()
Gehört die Verbindung zu einem übergeordneten Block (höher im Quellstack)?
Unterschrift:
isSuperior(): boolean;
Gibt zurück:
boolean
"True", wenn die Verbindung nach unten oder nach rechts zeigt.
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-08-29 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-08-29 (UTC)."],[[["This method checks if a Blockly connection belongs to a block higher up in the stack."],["It returns `true` if the connection faces down or right, indicating it's on a superior block, otherwise `false`."],["The `isSuperior()` method helps determine the hierarchical relationship between blocks in the workspace."]]],["The `Connection.isSuperior()` method determines if a connection belongs to a superior block within a stack. It returns a boolean value: `true` if the connection faces down or right, indicating it's part of a block higher in the source stack, and `false` otherwise. This method effectively checks the directionality of the connection to establish the hierarchical relationship between connected blocks.\n"]]