Language
|> pipeline
Pass a value through functions from left to right.
example.tt
const label = input
|> parse
|> ?.profile?.name
|> (value => value ?? "unknown")
|> .toUpperCase();Features
- x |> f compiles as f(x).
- A step beginning with . chains methods on the current value.
- A ?. step uses JavaScript optional-chain short-circuiting for that step.
- Curried *P standard-library helpers preserve left-to-right flow.