# Version_Constraint::is_valid()

Whether an expression is syntactically valid.

```php
is_valid( string $expr ): bool
```

## Parameters

- `$expr` (string) Constraint.

## Return

`bool` 

## Changelog

| Version | Description |
| --- | --- |
| 1.6.0 | Introduced |
