is_even {campfin}R Documentation

Check if even

Description

Check if even

Usage

is_even(x)

Arguments

x

A numeric vector.

Value

logical; Whether the integer is even or odd.

Examples

is_even(1:10)
is_even(10L)

[Package campfin version 1.0.9 Index]