R/is.even.R

Defines functions IsEven IsOdd

Documented in IsEven IsOdd

IsOdd <- function(x) (x - 1)%%2 == 0
IsEven <- function(x) x%%2 == 0

Try the Boom package in your browser

Any scripts or data that you put into this service are public.

Boom documentation built on Nov. 10, 2022, 5:56 p.m.