mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 23:35:45 +01:00
22 lines
321 B
Markdown
22 lines
321 B
Markdown
# PerfectSquare
|
|
|
|
- `PerfectSquare()`
|
|
|
|
Validates a perfect square.
|
|
|
|
```php
|
|
v::perfectSquare()->validate(25); // true (5*5)
|
|
v::perfectSquare()->validate(9); // true (3*3)
|
|
```
|
|
|
|
## Changelog
|
|
|
|
Version | Description
|
|
--------|-------------
|
|
0.3.9 | Created
|
|
|
|
***
|
|
See also:
|
|
|
|
- [Factor](Factor.md)
|
|
- [PrimeNumber](PrimeNumber.md)
|