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

Function assertGreaterThanOrEqual

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

Source from the content-addressed store, hash-verified

85}
86
87export function assertGreaterThanOrEqual<T>(
88 actual: T,
89 expected: T,
90 msg: string,
91): asserts actual is T {
92 if (!(actual >= expected)) {
93 throwError(msg, actual, expected, '>=');
94 }
95}
96
97export function assertNotDefined<T>(actual: T, msg: string) {
98 if (actual != null) {

Callers 9

getOrCreateTNodeFunction · 0.90
createTNodeFunction · 0.90
setSelectedIndexFunction · 0.90
icuCreateOpCodeFunction · 0.90
i18nStartFirstCreatePassFunction · 0.90
getNativeByIndexFunction · 0.90
assertNumberInRangeFunction · 0.85

Calls 1

throwErrorFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…