Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 532 Bytes

apply-more-than-one-pipe.md

File metadata and controls

14 lines (10 loc) · 532 Bytes

Apply two or more pipes

To transforme the data, we can apply multiple pipes. It is called chaining, the same as in method chaining.

{% raw %}

The chained hero's birthday is
{{ birthday | date | uppercase}}

{% endraw %}

This example—which displays FRIDAY, APRIL 15, 1988—chains the same pipes as above, but passes in a parameter to date as well.

Full tutorial - Chaining pipes