respect-validation/docs/rules/PerfectSquare.md
2018-12-11 13:31:50 +01:00

23 lines
370 B
Markdown

# PerfectSquare
- `PerfectSquare()`
Validates whether the input is 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)
- [Fibonacci](Fibonacci.md)
- [PrimeNumber](PrimeNumber.md)