MCPcopy
hub / github.com/midrender/revideo / removeChild

Method removeChild

packages/2d/src/lib/components/Node.ts:1331–1333  ·  view source on GitHub ↗

* Remove the given child.

(child: Node)

Source from the content-addressed store, hash-verified

1329 * Remove the given child.
1330 */
1331 protected removeChild(child: Node) {
1332 this.setParsedChildren(this.children().filter(node => node !== child));
1333 }
1334
1335 /**
1336 * Whether this node should be cached or not.

Callers 2

removeMethod · 0.80
spawnChildrenMethod · 0.80

Calls 1

setParsedChildrenMethod · 0.95

Tested by

no test coverage detected