NodeSorter
@elastic/charts • Exports
@elastic/charts / NodeSorter
Type alias: NodeSorter
NodeSorter: (
a
,b
) =>number
Binary predicate function used for [].sort
ing partitions represented as ArrayEntries
Parameters
• a: ArrayEntry
• b: ArrayEntry
Returns
number
Source
packages/charts/src/chart_types/partition_chart/layout/utils/group_by_rollup.ts:92
Generated using typedoc-plugin-markdown and TypeDoc