(control: any, isGroup: boolean, value: any)
| 282 | } |
| 283 | |
| 284 | export function assertAllValuesPresent(control: any, isGroup: boolean, value: any): void { |
| 285 | control._forEachChild((_: unknown, key: string | number) => { |
| 286 | if (value[key] === undefined) { |
| 287 | throw new RuntimeError( |
| 288 | RuntimeErrorCode.MISSING_CONTROL_VALUE, |
| 289 | typeof ngDevMode === 'undefined' || ngDevMode ? missingControlValueError(isGroup, key) : '', |
| 290 | ); |
| 291 | } |
| 292 | }); |
| 293 | } |
| 294 | |
| 295 | // IsAny checks if T is `any`, by checking a condition that couldn't possibly be true otherwise. |
| 296 | export type ɵIsAny<T, Y, N> = 0 extends 1 & T ? Y : N; |
no test coverage detected
searching dependent graphs…