R/is-even.R
is_even.Rd
Check if even
is_even(x)
A numeric vector.
logical; Whether the integer is even or odd.
is_even(1:10) #> [1] FALSE TRUE FALSE TRUE FALSE TRUE FALSE TRUE FALSE TRUE is_even(10L) #> [1] TRUE