MCPcopy
hub / github.com/angular/angular / assertGreaterThan

Function assertGreaterThan

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

Source from the content-addressed store, hash-verified

79}
80
81export function assertGreaterThan<T>(actual: T, expected: T, msg: string): asserts actual is T {
82 if (!(actual > expected)) {
83 throwError(msg, actual, expected, '>');
84 }
85}
86
87export function assertGreaterThanOrEqual<T>(
88 actual: T,

Callers 7

_adjustIndexMethod · 0.90
icuCreateOpCodeFunction · 0.90
applyMutableOpCodesFunction · 0.90
markAsComponentHostFunction · 0.90
ɵɵadvanceFunction · 0.90
getTNodeFunction · 0.90
getParentInjectorIndexFunction · 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…