mirror of
https://github.com/Respect/Validation.git
synced 2024-06-04 14:52:17 +02:00
10df3211f5
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
29 lines
353 B
Markdown
29 lines
353 B
Markdown
# PrimeNumber
|
|
|
|
- `PrimeNumber()`
|
|
|
|
Validates a prime number
|
|
|
|
```php
|
|
v::primeNumber()->validate(7); // true
|
|
```
|
|
|
|
## Categorization
|
|
|
|
- Math
|
|
- Numbers
|
|
|
|
## Changelog
|
|
|
|
Version | Description
|
|
--------|-------------
|
|
0.3.9 | Created
|
|
|
|
***
|
|
See also:
|
|
|
|
- [Factor](Factor.md)
|
|
- [Fibonacci](Fibonacci.md)
|
|
- [Multiple](Multiple.md)
|
|
- [PerfectSquare](PerfectSquare.md)
|