check if integer(1)

is_integer1(x)

Arguments

x

A single value

Value

Boolean

Examples

nums <- 2
is_integer1(nums)
#> [1] FALSE