Skip to content

Bars Specification 0.1.0 — Transform: downcase

Category: string · Since: 0.1.0

Lowercases the input.

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

Input coercion: string

Arguments

None.

Arity: 0–0

Worked examples

{{ "HI" | downcase }}

hi
{{ foo | downcase | upcase }}

HELLO

Full fixture: transforms/transform-downcase.json