編輯

共用方式為


getLength method for collections (Client API reference)

Gets the count of items in the collection.

Syntax

collection.getLength()

Return value

Type: Number

Description: Count of items in the collection.

Collections in Client API
forEach
get