Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 456 Bytes

Readme.md

File metadata and controls

27 lines (14 loc) · 456 Bytes

collection

Enumerable data model collections, with all Enumerable methods available.

Installation

$ component install component/collection

API

Collection([models])

Initialize a new collection with the given models.

Collection#length()

Return the collection length.

Collection#push(model:Object)

Add model to the collection and return the index.

License

MIT