isodd
isodd(x::Integer) -> Bool
Returns true
if x
is odd (that is, not divisible by 2), and false
otherwise.
julia> isodd(9)
true
julia> isodd(10)
false
Examples
See Also
digits, inf, isdigit, iseven, isfinite, isless, islower, isnumber, isodd, isprime, isqrt, issorted, issubnormal, isxdigit, nan,User Contributed Notes
Add a Note
The format of note supported is markdown, use triple backtick to start and end a code block.