@algorithm.ts/types
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) |