axisValues#

Functions#

axisValueAt()#

axisValueAt(value, timeline): JsonNumber | readonly [JsonNumber, JsonNumber] | undefined

Defined in: arranger/src/axisValues.ts:15

A value of the axis of timeline as the manifest writes it; undefined where it does not fit.

Parameters#

value#

Real

timeline#

{ }

Returns#

JsonNumber | readonly [JsonNumber, JsonNumber] | undefined


typedValue()#

typedValue(text, timeline): string | JsonNumber | readonly [JsonNumber, JsonNumber]

Defined in: arranger/src/axisValues.ts:25

The value typed as text on timeline’s axis, exact (parseAxisValue), as the manifest writes it there: a decimal on a fraction axis is the value it denotes, on a float axis the nearest double; a message where none fits.

Parameters#

text#

string

timeline#

{ }

Returns#

string | JsonNumber | readonly [JsonNumber, JsonNumber]