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

API Reference@grafana/datastringStartsAsRegEx

stringStartsAsRegEx() function

stringStartsAsRegEx() function

Signature

export declare function stringStartsAsRegEx(str: string): boolean;

Import

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

Parameters

Parameter Type Description
str string

Returns:

boolean