MCPcopy Index your code
hub / github.com/alibaba/lowcode-engine / has

Method has

packages/shell/src/model/node-children.ts:118–120  ·  view source on GitHub ↗

* 是否包含指定节点 * @param node * @returns

(node: IPublicModelNode)

Source from the content-addressed store, hash-verified

116 * @returns
117 */
118 has(node: IPublicModelNode): boolean {
119 return this[nodeChildrenSymbol].has((node as any)?.[nodeSymbol]);
120 }
121
122 /**
123 * 类似数组的 forEach

Callers

nothing calls this directly

Calls 1

hasMethod · 0.65

Tested by

no test coverage detected