respect-validation/docs/PerfectSquare.md
Danilo Benevides f486d521cb
Apply contribution guidelines to "PerfectSquare" rule
Co-authored-by: Henrique Moody <henriquemoody@gmail.com>
2018-06-23 21:43:02 +02:00

342 B

PerfectSquare

  • PerfectSquare()

Validates whether the input is a perfect square.

v::perfectSquare()->validate(25); // true (5*5)
v::perfectSquare()->validate(9); // true (3*3)

Changelog

Version Description
0.3.9 Created

See also: