derive: true | number | {
    value: true | number;
    step?: number;
}

Denotes any past input values (and optional past step), that next output values derive from.

A nested hierarchy of the form any-value-past[any-value-step-past], indexing values, each nesting level denotes how to derive from: 0. any-value-past: any/all past input value/s, at 1st step past.

  1. any-value-step-past: any/all past input value/s, at any given step past.

The value/s to derive from may be given as:

  • true: derives from all values.
  • number: derives from the given values index.

If given a true or number (denoting value/s but no step), the next output value derives from the given values at the 1st step past.

To specify a different step, pass an object denoting both the value (as above) along with a step; in the form {value:true|number,step?:number}, to derive from the value at any given step past (or the 1st step past if not given).

Any omitted values are ignored.

See derives for more on how these are derived by the next output values.

See

  • derives