Skip to content

Bars Specification 0.1.0 — Transform: upcase

Category: string · Since: 0.1.0

Uppercases the input.

Coerces the input to a string (the same rule {{ }} interpolation uses) and uppercases it.

Input coercion: string

Arguments

None.

Arity: 0–0

Worked examples

{{ "hi" | upcase }}

HI
{{ foo | upcase | downcase }}

hello

Full fixture: transforms/transform-upcase.json