This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/datagetValueMatcher

getValueMatcher() function

getValueMatcher() function

Resolves a value matcher from the registry for given config. Will throw an error if matcher can not be resolved.

Signature

export declare function getValueMatcher(config: MatcherConfig): ValueMatcher;

Import

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

Parameters

Parameter Type Description
config MatcherConfig

Returns:

ValueMatcher