Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 204 Bytes

Odd.md

File metadata and controls

16 lines (10 loc) · 204 Bytes

Odd

  • v::odd()

Validates an odd number.

v::int()->odd()->validate(3); //true

Using int() before odd() is a best practice.

See also