length

Summary

Returns the size of the array.

Usage

public property int length()

Returns

The number of elements in the array.

Description

Returns the size of the array, equivalent to the number of elements in the array.

Examples

Basic Usage
1
2
3
import System;
 
Console.log([5, 6, 7].length); // 3

Share

HTML | BBCode | Direct Link