MCPcopy Index your code
hub / github.com/angular/angular / hasLogic

Method hasLogic

packages/forms/signals/src/schema/logic_node.ts:163–168  ·  view source on GitHub ↗
(builder: AbstractLogicNodeBuilder)

Source from the content-addressed store, hash-verified

161 }
162
163 override hasLogic(builder: AbstractLogicNodeBuilder): boolean {
164 if (this === builder) {
165 return true;
166 }
167 return this.all.some(({builder: subBuilder}) => subBuilder.hasLogic(builder));
168 }
169
170 override hasRules(): boolean {
171 return this.all.length > 0;

Callers

nothing calls this directly

Calls 2

someMethod · 0.80
hasLogicMethod · 0.65

Tested by

no test coverage detected