* Checks whether the given template is a plain ng-template (as opposed to another kind of template * such as a structural directive template or control flow template). This is checked based on the * tagName. We can expect that only plain ng-templates will come through with a tagName of * 'ng-temp
(tmpl: t.Template)
| 1415 | * | `<ng-template *ngIf>` (structural) | null | |
| 1416 | */ |
| 1417 | function isPlainTemplate(tmpl: t.Template) { |
| 1418 | return splitNsName(tmpl.tagName ?? '')[1] === NG_TEMPLATE_TAG_NAME; |
| 1419 | } |
| 1420 | |
| 1421 | /** |
| 1422 | * Ensures that the i18nMeta, if provided, is an i18n.Message. |
no test coverage detected