import { SortedMapInternal } from "@tsplus/stdlib/collections/SortedMap/_internal/SortedMapInternal" /** * @tsplus static SortedMap.Ops from */ export function from_( ord: Ord ): ( iterable: Collection ) => SortedMap { return ( iterable: Collection ) => new SortedMapInternal(RedBlackTree.from(ord)(iterable)) } /** * @tsplus static SortedMap.Aspects from */ export const from = Pipeable(from_)