SheetXL - v0.8.0-beta.25
    Preparing search index...

    Class RichArray

    An array as one value: what an entity's list property holds ("Leader(s)", "Official language"), and what a cell holding a list holds.

    Its elements are rows of values, any of them rich. It unpacks to them where a range or array is accepted (IRichData.toArray) and reads as nothing where a primitive is.

    Immutable.

    Implements

    • IRichData
    Index
    • Parameters

      • elements: readonly (readonly Scalar[])[]

        The rows. Each row is copied; ragged rows are kept as given.

      Returns RichArray

    Type: "array" = 'array'

    The name of the kind of every RichArray (RichArrayKind).

    • get isIRichData(): true

      {@inheritDoc IRichData.isIRichData}

      Returns true

    • The rows.

      Returns readonly (readonly Scalar[])[]

    • {@inheritDoc IRichData.getKind}

      Returns IRichType

    • {@inheritDoc IRichData.getProperty}

      Parameters

      • _name: string

      Returns Scalar

    • {@inheritDoc IRichData.toArray}

      Returns Scalar[][]

    • {@inheritDoc IRichData.toJSON}

      Parameters

      • OptionaltoResourceId: ToResourceId

      Returns JSON

    • {@inheritDoc IRichData.toString}

      Returns string