How to use the @collectable/red-black-tree.size function in @collectable/red-black-tree

To help you get started, we’ve selected a few @collectable/red-black-tree examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github frptools / collectable / packages / sorted-map / src / functions / size.ts View on Github external
export function size (map: SortedMapStructure): number {
  return _size(map._sorted);
}
github frptools / collectable / packages / sorted-set / src / functions / size.ts View on Github external
export function size (set: SortedSetStructure): number {
  return _size(set._tree);
}

@collectable/red-black-tree

[Collectable.js] Immutable Red-Black Tree

MIT
Latest version published 3 years ago

Package Health Score

46 / 100
Full package analysis

Similar packages