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

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

Import

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

Parameters

ParameterTypeDescription
configMatcherConfig

Returns:

ValueMatcher