Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function get (index: number, set: SortedSetStructure): T|undefined {
var entry = keyAt(index, set._tree);
return isUndefined(entry) ? void 0 : entry.value;
}