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

Function assertNotEqual

packages/core/src/util/assert.ts:51–55  ·  view source on GitHub ↗
(actual: T, expected: T, msg: string)

Source from the content-addressed store, hash-verified

49}
50
51export function assertNotEqual<T>(actual: T, expected: T, msg: string): asserts actual is T {
52 if (!(actual != expected)) {
53 throwError(msg, actual, expected, '!=');
54 }
55}
56
57export function assertSame<T>(actual: T, expected: T, msg: string): asserts actual is T {
58 if (!(actual === expected)) {

Callers 14

recreateLViewFunction · 0.90
isNodeMatchingSelectorFunction · 0.90
getComponentIdFunction · 0.90
executeInitAndCheckHooksFunction · 0.90
incrementInitPhaseFlagsFunction · 0.90
enterViewFunction · 0.90
initTNodeFlagsFunction · 0.90
collectResidualFunction · 0.90
isStylingMatchFunction · 0.90
classIndexOfFunction · 0.90

Calls 1

throwErrorFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…