Link Search Menu Expand Document


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 |>


@directiveA # Directive called on the root block

 # String value piped into a directive:
foo = "bar" |> @uppercase

# Array piped into a directive

list = @sort <| [

Chained pipes

A value can be piped into multiple directives by chaining them one after the other


foo = "bar" |> @uppercase |> @sanitize