isOdd: Check if a Number is Odd

View source: R/math.R

isOddR Documentation

Check if a Number is Odd

Description

This function checks if a number is odd.

Usage

isOdd(x)

Arguments

x

A numeric vector.

Value

A logical vector indicating whether each element is odd.

Examples

# Check if numbers are odd
isOdd(c(1, 2, 3, 4))

FastUtils documentation built on Sept. 11, 2024, 5:13 p.m.