+++ # ----------------------------------------------------------------------- # 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 Signature ```typescript validate: (value: string, validationRules: ValidationRule[]) => string[] | null ``` Import ```typescript import { validate } from '@grafana/ui'; ```