# $pricesField->hasValue()

> Checks if the field has a value

- Source: `src/Form/Field.php#L129` <https://github.com/getkirby/kirby/blob/6.0.0-beta.1/src/Form/Field.php#L129>
- Inherited from Kirby, not part of the Merx API. See <https://getkirby.com/docs/reference>.

```php
$pricesField->hasValue(): bool
```

## Return type

`bool`

## Parent class

`Wagnerwagner\Merx\PricesField` inherited from `Kirby\Form\Field`
