respect-validation/docs/rules/PerfectSquare.md
Henrique Moody 10df3211f5
Add "Categorization" section to rule documentations
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2019-05-11 19:16:21 +02:00

407 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)

Categorization

  • Math
  • Numbers

Changelog

Version Description
0.3.9 Created

See also: