import { concreteSortedSet } from "@tsplus/stdlib/collections/SortedSet/_internal/SortedSetInternal"
/**
* @tsplus static SortedSet.Aspects forEach
* @tsplus pipeable SortedSet forEach
*/
export function forEach(f: (a: A) => void) {
return (self: SortedSet): void => {
concreteSortedSet(self)
return self.keyTree.forEach((k) => f(k))
}
}