mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 23:35:45 +01:00
23 lines
316 B
Markdown
23 lines
316 B
Markdown
# PrimeNumber
|
|
|
|
- `PrimeNumber()`
|
|
|
|
Validates a prime number
|
|
|
|
```php
|
|
v::primeNumber()->validate(7); // true
|
|
```
|
|
|
|
## Changelog
|
|
|
|
Version | Description
|
|
--------|-------------
|
|
0.3.9 | Created
|
|
|
|
***
|
|
See also:
|
|
|
|
- [Factor](Factor.md)
|
|
- [Fibonacci](Fibonacci.md)
|
|
- [Multiple](Multiple.md)
|
|
- [PerfectSquare](PerfectSquare.md)
|