MCPcopy
hub / github.com/angular/angular / assertNotSame

Function assertNotSame

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

Source from the content-addressed store, hash-verified

61}
62
63export function assertNotSame<T>(actual: T, expected: T, msg: string) {
64 if (!(actual !== expected)) {
65 throwError(msg, actual, expected, '!==');
66 }
67}
68
69export function assertLessThan<T>(actual: T, expected: T, msg: string): asserts actual is T {
70 if (!(actual < expected)) {

Callers 6

getBindingFunction · 0.90
createTNodeFunction · 0.90
listenToDomEventFunction · 0.90
setPropertyAndInputsFunction · 0.90
elementAttributeInternalFunction · 0.90
textBindingInternalFunction · 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…