iseven
iseven(x::Integer) -> Bool
Returns true
is x
is even (that is, divisible by 2), and false
otherwise.
julia> iseven(9)
false
julia> iseven(10)
true
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.