is.whole: Integer Check

Description Usage Arguments Value Author(s) Examples

View source: R/iswhole.R

Description

Checks whether the submitted value is an integer

Usage

1

Arguments

x

A numeric value.

Value

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

Author(s)

James Balamuta

Examples

1
2
3
4
5
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))

SMAC-Group/gmwm documentation built on Sept. 11, 2021, 10:06 a.m.