Length function

Fully qualified name: Std.Core.Length

function Length<'T>(a : 'T[]) : Int

Summary

Returns the number of elements in the input array a.

Input

a

Input array.

Output

The total number of elements in the input array a.

Example

Message($"{ Length([0, 0, 0]) }"); // Prints 3