Investment Studio > Expressions > Functions > Reference > COLUMNS

integer columns(array[*][*] argument)

Returns the number of columns in the argument array.

Example

=columns({{1, 2, 3, 4}, {5, 6}})

returns 4.

See also rows.