Skip to content

routier-collection


routier-collection / core/src / compareBySortKeys

Function: compareBySortKeys() ​

compareBySortKeys<TShape>(keys): (x, y) => number

Defined in: core/src/plugins/translators/sortKeys.ts:28

Type Parameters ​

TShape ​

TShape

Parameters ​

keys ​

readonly SortOption<TShape>[]

Returns ​

(x, y): number

Parameters ​

x ​

TShape

y ​

TShape

Returns ​

number

Released under the MIT License.