rc-js-util
Version:
A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.
14 lines • 359 B
TypeScript
import { IReadonlySetLike } from "./i-readonly-set-like.js";
/**
* @public
*/
export interface ISetLike<TItem> extends IReadonlySetLike<TItem> {
add(item: TItem): void;
/**
* @returns true if the item was deleted.
*/
delete(item: TItem): boolean;
clear(): void;
readonly size: number;
}
//# sourceMappingURL=i-set-like.d.ts.map