SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Class TransposedBuilder<T>

    Transposes cell coordinates within tuples to create MajorTuple representations in the opposite axis.

    This utility efficiently converts data organized by one axis into the opposite.

    Type Parameters

    • T

    Implements

    Index
    • Constructs and returns the bounded tuples based on the added values. This method can be called multiple times.

      Returns Region<T>

      The built bounded tuples.

    • The value pushed at a position, as pushAt was given it.

      Parameters

      • major: number
      • minor: number

      Returns T | undefined

      undefined if no value is stored there.

    • Adds a single value associated with a specific major and minor index.

      Parameters

      • major: number

        The major index.

      • minor: number

        The minor index.

      • value: T

        The value to be added.

      Returns IBuilder<T>

      If the value is an Array, it will be treated as a discrete value. If you want to set multiple values along the minor axis, then use pushMultipleAt.

    • Adds multiple values associated with a specific major and minor index.

      Parameters

      • major: number

        The major index.

      • minor: number

        The minor index.

      • value: IListLike<T> | T[]

        An array of values to be added.

      Returns IBuilder<T>