Namespace: helpers

commands.helpers

Members

(static, constant) exports.generateSentence

Generates the response for the screen reader output.

Source:

(static, constant) exports.generateXLabel

Generates the full label for the x-axis.

Source:

(static, constant) exports.getIndependentValues

Finds the calculation and the string response of the values.

Source:

Methods

(static) getAllIndices(data, value) → {Array.<number>}

Finds the indices for all data points matching the value.

Parameters:
Name Type Description
data Array.<string>

The data supplied as array of strings.

value string

The value to find the index of.

Source:
Returns:
  • Array of indices for matching values.
Type
Array.<number>