Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Nathan Wiles edited this page Mar 8, 2023 · 2 revisions

Overview

Func<Array<Any>, Number>

Return the number of items in the given array.

Parameters

  • array: Array<Any>

Return Value

Number

Examples

const names = ['John', 'Paul', 'George', 'Ringo'];

const numBeatles = len(names);
print(numBeatles);
Clone this wiki locally