# endsWith

Checks if the given string ends with the given value

****

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

****

```php
V::endsWith(string $value, string $end): bool
```

## Parameters

| Name | Type | Default | Description |
| ---- | ---- | ---- | ---- |
| `$value` (required) | `string` | – | – |
| `$end` (required) | `string` | – | – |

## Return type

`bool`