R/even.R

Defines functions even

Documented in even

#' @title even
#'
#' @description Checks whether an integer is even.
#'
#' @param x Integer.
#'
#' @return Logical value (TRUE or FALSE). TRUE means that the value is even.
#'
#' @examples
#' even(3)
#'
#' @export
even<-function(x) {return(x %% 2 == 0)}

Try the mapsRinteractive package in your browser

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

mapsRinteractive documentation built on April 24, 2023, 9:10 a.m.