Skip to content

Bars Specification 0.1.0 — Transform: times

Category: math · Since: 0.1.0

Multiplies the input by an operand.

Multiplies the numeric input by operand.

Input coercion: number

Arguments

Name Type Optional Default
operand number no

Arity: 1–1

Worked examples

{{ n | times: 3 }}

12
{{ n | times: 1.5 }}

4.5

Full fixture: transforms/transform-times.json