+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "stringStartsAsRegEx"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++

## stringStartsAsRegEx() function

### stringStartsAsRegEx() function

<b>Signature</b>

```typescript
export declare function stringStartsAsRegEx(str: string): boolean;
```
<b>Import</b>

```typescript
import { stringStartsAsRegEx } from '@grafana/data';
```
<b>Parameters</b>

|  Parameter | Type | Description |
|  --- | --- | --- |
|  str | <code>string</code> |  |

<b>Returns:</b>

`boolean`

