mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 05:12:31 +08:00

* added packages reference menu item. * removed the draft flag. * Updated docs by running script.
24 lines
580 B
Markdown
24 lines
580 B
Markdown
+++
|
|
# -----------------------------------------------------------------------
|
|
# 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';
|
|
```
|