MCPcopy
hub / github.com/RaspberryPiFoundation/blockly / isConnected

Method isConnected

packages/blockly/core/connection.ts:209–211  ·  view source on GitHub ↗

* Is the connection connected? * * @returns True if connection is connected to another connection.

()

Source from the content-addressed store, hash-verified

207 * @returns True if connection is connected to another connection.
208 */
209 isConnected(): boolean {
210 return !!this.targetConnection;
211 }
212
213 /**
214 * Get the workspace's connection type checker object.

Callers 15

connect_Method · 0.95
disposeMethod · 0.95
connectMethod · 0.95
targetBlockMethod · 0.95
onCheckChanged_Method · 0.95
bumpNeighboursMethod · 0.80
unplugFromRowMethod · 0.80
unplugFromStackMethod · 0.80
setPreviousStatementMethod · 0.80
setNextStatementMethod · 0.80
setOutputMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected