# ipV4CIDRValidator Type documentation

## TypeScript declaration

### [ipV4CIDRValidator](<https://github.com/siemens/element/blob/main/projects/element-ng/ip-input/address-validators.ts#L61-L67>)

**Kind:** constant

```
import { ipV4CIDRValidator } from '@siemens/element-ng/ip-input';
```

Validates a IPV4 address including CIDR.

```
ValidatorFn = ...
```

```
ipV4CIDRValidator(control: AbstractControl<any, any, any>): ValidationErrors | null
```

Validates a IPV4 address including CIDR.

#### Parameters

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [control](<https://github.com/siemens/element/blob/main/projects/element-ng/ip-input/address-validators.ts#L62-L62>) | `AbstractControl<any, any, any>` |  |  |

**Returns:** [ValidationErrors](<https://angular.dev/api/forms/ValidationErrors>)`  |  `[null](<https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/null>)
