* added packages reference menu item. * removed the draft flag. * Updated docs by running script.
843 B
843 B
+++
-----------------------------------------------------------------------
Do not edit this file. It is automatically generated by API Documenter.
-----------------------------------------------------------------------
title = "getActiveThreshold" keywords = ["grafana","documentation","sdk","@grafana/data"] type = "docs" +++
getActiveThreshold() function
getActiveThreshold() function
Signature
export declare function getActiveThreshold(value: number, thresholds: Threshold[]): Threshold;
Import
import { getActiveThreshold } from '@grafana/data';
Parameters
| Parameter | Type | Description |
|---|---|---|
| value | number |
|
| thresholds | Threshold[] |
Returns:
Threshold