• Takes the previous values and casts as a number[] or creates a new empty number[]. We store previous values as an array so that we can always reconstruct our histogram. We are unable to store complex objects in Glean as they must be JSON parse-able objects.

    Parameters

    • Optional jsonValue: JSONValue

      Will always be either undefined or a number[].

    Returns number[]

    An array of previous values or an empty array if nothing was previously stored.

Generated using TypeDoc