Skip to main content

NodeSorter

@elastic/chartsExports


@elastic/charts / NodeSorter

Type alias: NodeSorter

NodeSorter: (a, b) => number

Binary predicate function used for [].sorting 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