is_whole: Integer Check

View source: R/ints.R

is_wholeR Documentation

Integer Check

Description

Checks whether the submitted value is an integer

Usage

is_whole(x)

Arguments

x

A numeric value to check to see if it is an integer.

Value

A boolean value indicating whether the value is an integer or not.

Author(s)

James Balamuta

Examples

is_whole(2.3)
is_whole(4)
is_whole(c(1,2,3))
is_whole(c(.4,.5,.6))
is_whole(c(7,.8,9))

coatless/balamuta documentation built on Nov. 16, 2023, 5:30 a.m.