@itwin/presentation-hierarchies
Version:
A package for creating hierarchies based on data in iTwin.js iModels.
13 lines • 473 B
TypeScript
import { Observable } from "rxjs";
/**
* This should accept sorting params in some form:
* - is sorting disabled?
* - are we sorting by label or some property value, in case of the latter - how do we get the value?
*
* @note Nodes with same labels are returned in undefined order.
* @internal
*/
export declare function sortNodesByLabelOperator<TNode extends {
label: string;
}>(nodes: Observable<TNode>): Observable<TNode>;
//# sourceMappingURL=Sorting.d.ts.map