SheetXL - v1.0.2
    Preparing search index...
    • Transposes a 2D matrix (array of arrays).

      Parameters

      • matrix: number[][]

        The 2D array to transpose.

      Returns number[][]

      The transposed 2D array.

      This function assumes that the input matrix is well-formed, meaning that it has at least 1 element and all inner arrays have the same length.