tao-test/app/vendor/respect/validation/docs/rules/PerfectSquare.md

280 B

PerfectSquare

  • v::perfectSquare()

Validates a perfect square.

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

See also: