isOdd {FastUtils}R 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))

[Package FastUtils version 0.1.1 Index]