# min

Checks if the value is higher than the minimum value

****

- Source: <https://github.com/getkirby/kirby/tree/5.5.3/src/Toolkit/V.php#L485>

****

```php
V::min($value, float $min): bool
```

## Parameters

| Name | Type | Default | Description |
| ---- | ---- | ---- | ---- |
| `$value` (required) | `mixed` | – | – |
| `$min` (required) | `float` | – | – |

## Return type

`bool`

## In your code

```php
if (V::min(10, 5)) {
  echo 'Yay, valid!';
}
```

## In fields

```yaml
fields:
  example:
    label: Example field
    type: text
    validate:
      min: 5
```