function
Source: index.ts ↗
defSetSorts()
Creates new execution definition by merging new sort items into an existing definition.
export declare function defSetSorts(def: IExecutionDefinition, sortBy?: ISortItem[]): IExecutionDefinition;
Parameters
Parameter | Type | Description |
|---|---|---|
def | existing definition | |
sortBy | (Optional) array of sort items to add to definition |
Returns
always new instance