@algorithm.ts/types
v3.1.1
Published
Common types for the algorithm.ts packages.
Downloads
132
Readme
Common types.
Install
npm
npm install --save @algorithm.ts/types
yarn
yarn add @algorithm.ts/types
Usage
ICollection
Signature | Description
:-----------------------|:------------------------------------------------------------------------
readonly size: number
| Count the element in the collection.
destroy(): void
| Release memory.
clear(): void
| Remove all elements. (Notice that this method does not release memory)