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

Function nullSafeIsEquivalent

packages/compiler/src/output/output_ast.ts:158–166  ·  view source on GitHub ↗
(
  base: T | null,
  other: T | null,
)

Source from the content-addressed store, hash-verified

156}
157
158export function nullSafeIsEquivalent<T extends {isEquivalent(other: T): boolean}>(
159 base: T | null,
160 other: T | null,
161) {
162 if (base == null || other == null) {
163 return base == other;
164 }
165 return base.isEquivalent(other);
166}
167
168function areAllEquivalentPredicate<T>(
169 base: T[],

Callers 1

isEquivalentMethod · 0.85

Calls 1

isEquivalentMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…