Skip to content

IBounded

Defined in: packages/data/src/collection/ibounded.ts:10

A collection with a fixed maximum size, imposed at construction.

readonly capacity: number

Defined in: packages/data/src/collection/ibounded.ts:17

The maximum number of elements the collection can hold.

Note: Infinity is not a legal value here — an unbounded type omits this mixin.