Skip to main content

NodeSorter

@elastic/charts • Exports


@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