Bars Specification 0.1.0 — Transform: minus¶
Category: math · Since: 0.1.0
Subtracts an operand from the input.
Subtracts a numeric operand from the numeric input. Also accepts a date-time input: dateTime | minus: n shifts the date-time back n days when n is numeric, and dateTime | minus: otherDateTime returns the signed number of days between the two instants as a number.
Input coercion: number
Arguments¶
| Name | Type | Optional | Default |
|---|---|---|---|
operand |
number | no | — |
Arity: 1–1
Worked examples¶
→
→
Full fixture: transforms/transform-minus.json