Saltar a contenido

Clase Collection

Complete API reference for the Collection class.

Constructor

new Collection<T, V>(items?: T[], validator?: V)

Type Parameters

  • T: Type of elements in the collection
  • V: Shape for query validation

Static Methods

Collection.macro()

Add custom methods to all Collection instances.

Instance Methods

See individual method references for details.