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

## validate variable

### validate variable

<b>Signature</b>

```typescript
validate: (value: string, validationRules: ValidationRule[]) => string[] | null
```
<b>Import</b>

```typescript
import { validate } from '@grafana/ui';
```
