nColumns function

Syntax

  • float nColumns(array)

Parameters

  1. array—(float[], string[], bool[])

Returns

The number of columns in array.

Related

Example

Print size

const array = [1, 2, 3;
               4, 5, 6]

Example --> print(nColumns(array)) // 3