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

## hasValidationEvent variable

### hasValidationEvent variable

<b>Signature</b>

```typescript
hasValidationEvent: (event: EventsWithValidation, validationEvents: ValidationEvents | undefined) => ValidationRule[] | undefined
```
<b>Import</b>

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