0 votes
in Angular by
What is the precedence between pipe and ternary operators?

1 Answer

0 votes
by

The pipe operator has a higher precedence than the ternary operator (?:). For example, the expression first ? second : third | fourth is parsed as first ? second : (third | fourth).

Related questions

0 votes
asked Dec 15, 2023 in Angular by AdilsonLima
0 votes
asked Sep 17, 2023 in Angular by DavidAnderson
...