API Reference@grafana/datatoOption

toOption variable

toOption variable

Signature

toOption: (value: string) => SelectableValue<string>

Import

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