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

Method mergeIn

packages/forms/signals/src/schema/path_node.ts:85–88  ·  view source on GitHub ↗

* Merges in logic from another schema to this one. * @param other The other schema to merge in the logic from * @param predicate A predicate indicating when the merged in logic should be active.

(other: SchemaImpl, predicate?: Predicate)

Source from the content-addressed store, hash-verified

83 * @param predicate A predicate indicating when the merged in logic should be active.
84 */
85 mergeIn(other: SchemaImpl, predicate?: Predicate) {
86 const path = other.compile();
87 this.builder.mergeIn(path.builder, predicate);
88 }
89
90 /** Extracts the underlying path node from the given path proxy. */
91 static unwrapFieldPath(formPath: SchemaPath<unknown, SchemaPathRules>): FieldPathNode {

Callers

nothing calls this directly

Calls 1

compileMethod · 0.45

Tested by

no test coverage detected