Pipes
Pipes are a way of passing values to a loaded directive. They can be used with the left-sided operator <|
or the right-sided operator |>
e.g
@directiveA # Directive called on the root block # String value piped into a directive: foo = "bar" |> @uppercase # Array piped into a directive list = @sort <| [ "some", "words" ]
Chained pipes
A value can be piped into multiple directives by chaining them one after the other
e.g
foo = "bar" |> @uppercase |> @sanitize