Skip to main content

interface OrderedSetCreators

undocumented

Methods

createContext

Returns a new OrderedSet context instance based on the given options.

Definition

createContext<UT>(options: {
    listContext?: List.Context;
    setContext: RSet.Context<UT>;
  }): OrderedSet.Context<UT>;

Type parameters

NameDescription
UTthe upper element type for which the context can create instances

Parameters

NameTypeDescription
options{
    listContext?: List.Context;
    setContext: RSet.Context<UT>;
  }
an object containing the following properties:
- listContext: the list context to use for element ordering
- setContext: the set context to use for element sets