mirror of
https://github.com/Respect/Validation.git
synced 2024-06-07 16:22:16 +02:00
10df3211f5
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
29 lines
407 B
Markdown
29 lines
407 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)
|
|
```
|
|
|
|
## Categorization
|
|
|
|
- Math
|
|
- Numbers
|
|
|
|
## Changelog
|
|
|
|
Version | Description
|
|
--------|-------------
|
|
0.3.9 | Created
|
|
|
|
***
|
|
See also:
|
|
|
|
- [Factor](Factor.md)
|
|
- [Fibonacci](Fibonacci.md)
|
|
- [PrimeNumber](PrimeNumber.md)
|