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 May 29, 2024, 5:08 a.m.