is_odd

is_odd($number)

  • $number: number to check.

Returns true if the number is odd, false if the number is even.

Comments

Leave a Reply