API Reference@grafana/data › sortThresholds

sortThresholds() function

sortThresholds() function

Sorts the thresholds

Signature

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

Import

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

Parameters

Parameter Type Description
thresholds Threshold[]

Returns:

Threshold[]