How to use the @collectable/red-black-tree.keyAt 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-set / src / functions / get.ts View on Github external
export function get (index: number, set: SortedSetStructure): T|undefined {
  var entry = keyAt(index, set._tree);
  return isUndefined(entry) ? void 0 : entry.value;


[Collectable.js] Immutable Red-Black Tree

Latest version published 3 years ago

Package Health Score

46 / 100
Full package analysis

Similar packages