sortThresholds() function

sortThresholds() function

Sorts the thresholds

Signature

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

Import

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

Parameters

ParameterTypeDescription
thresholdsThreshold[]

Returns:

Threshold[]