Condividi tramite


Funzione Length

Nome completo: Std.Core.Length

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

Sommario

Restituisce il numero di elementi nella matrice di input a.

Immissione

un

Matrice di input.

Prodotto

Numero totale di elementi nella matrice di input a.

Esempio

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