Function: moveComparator()
moveComparator<
T>(items,selected,moveDirection): (a,b) =>number
Defined in: coreUtils/collections.ts:95
Makes a sorting comparator (a function to pass to Array.sort()) which
moves specified subset of items either to the beginning of the array
or to the end.
Type Parameters
| Type Parameter |
|---|
|
Parameters
| Parameter | Type |
|---|---|
| readonly |
| readonly |
|
|
Returns
(
a,b):number
Parameters
| Parameter | Type |
|---|---|
|
|
|
|
Returns
number