is.odd {schoolmath}R Documentation

checks if a number or vector is odd

Description

checks if a number or vector is odd

Usage

is.odd(x)

Arguments

x

the number or vector to check #'

Value

true or false

Examples

is.odd(45)
is.odd(46)
x <- c(1,2,3,4,5, 6, 7)
is.odd(x)


[Package schoolmath version 0.4.2 Index]