mirror of
https://github.com/Respect/Validation.git
synced 2026-03-17 23:59:51 +01:00
10 lines
174 B
Markdown
10 lines
174 B
Markdown
# PerfectSquare
|
|
|
|
- `v::perfectSquare()`
|
|
|
|
Validates a perfect square.
|
|
|
|
```php
|
|
v::perfectSquare()->validate(25); //true (5*5)
|
|
v::perfectSquare()->validate(9); //true (3*3)
|
|
```
|