Skip to main content

Function: sortBy()

sortBy(keys)

sortBy(keys): <C, E>(action) => Promise<void>

Parameters

keys: Dictionary<SortDirection>

Returns

Function

Type parameters

C extends object

E extends object

Parameters

action: Action<C, E>

Returns

Promise<void>

Source

jsonapi/src/actions/context/enhancers/sortBy.ts:70

sortBy(keys, directions)

sortBy(keys, directions?): <C, E>(action) => Promise<void>

Parameters

keys: Arrayable<string>

directions?: Arrayable<SortDirection>

Returns

Function

Type parameters

C extends object

E extends object

Parameters

action: Action<C, E>

Returns

Promise<void>

Source

jsonapi/src/actions/context/enhancers/sortBy.ts:70