feat(compiler): Support "in" operator in Angular templates #38560
Labels
comp: compiler
comp: core
Runtime issues
core: binding & interpolation
Issue related to property/attribute binding or text interpolation
feature
Issue that requests a new feature
insufficient votes
votes required
Projects
Milestone
manueledones commentedAug 24, 2020
•
edited
Description
I'd like to have your opinions about supporting "in" operator in html templates. Let's say I have an object of a union type A | B. I'd like to use the 'in' operator to differentiate type.
Something like:
Here is a stackblitz
The text was updated successfully, but these errors were encountered: