API Reference@grafana/datasortThresholds

sortThresholds() function

sortThresholds() function

Sorts the thresholds

Signature

export declare function sortThresholds(thresholds: Threshold[]): Threshold[];

Import

import { sortThresholds } from '@grafana/data';

Parameters

ParameterTypeDescription
thresholdsThreshold[]

Returns:

Threshold[]