Function matrix_horizontal_string_combinations

  • Flatten a matrix from left to right - generate list of all unique combinations of strings

    Params

    matrix {array} - array of arrays of strings, in a matrix format

    Params

    delimeter {string} - Default: " ". Separate the combined values.

    Returns

    • array of string combinations, separated by space

    Parameters

    • matrix: any[][]
    • delimeter: string = " "

    Returns string[]

Generated using TypeDoc