(tView: TView, index: number, tIcu: TIcu)
| 71 | * @param tIcu The TIcu to store. |
| 72 | */ |
| 73 | export function setTIcu(tView: TView, index: number, tIcu: TIcu): void { |
| 74 | const tNode = tView.data[index] as null | TIcuContainerNode; |
| 75 | ngDevMode && |
| 76 | assertEqual( |
| 77 | tNode === null || tNode.hasOwnProperty('tView'), |
| 78 | true, |
| 79 | "We expect to get 'null'|'TIcuContainer'", |
| 80 | ); |
| 81 | if (tNode === null) { |
| 82 | tView.data[index] = tIcu; |
| 83 | } else { |
| 84 | ngDevMode && assertTNodeType(tNode, TNodeType.Icu); |
| 85 | tNode.value = tIcu; |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | /** |
| 90 | * Set `TNode.insertBeforeIndex` taking the `Array` into account. |
no test coverage detected