18 lines
280 B
Markdown
18 lines
280 B
Markdown
|
# PerfectSquare
|
||
|
|
||
|
- `v::perfectSquare()`
|
||
|
|
||
|
Validates a perfect square.
|
||
|
|
||
|
```php
|
||
|
v::perfectSquare()->validate(25); // true (5*5)
|
||
|
v::perfectSquare()->validate(9); // true (3*3)
|
||
|
```
|
||
|
|
||
|
***
|
||
|
See also:
|
||
|
|
||
|
* [Factor](Factor.md)
|
||
|
* [Fibonacci](Fibonacci.md)
|
||
|
* [PrimeNumber](PrimeNumber.md)
|