Checks whether the given input is a scalar integer
or not.
Examples
if (FALSE) {
# basic example
A <- 3
B <- 3.4
C <- rep(3, 10)
is.int(A) # returns TRUE
is.int(B) # returns FALSE
is.int(C) # returns FALSE
}
Checks whether the given input is a scalar integer
or not.
if (FALSE) {
# basic example
A <- 3
B <- 3.4
C <- rep(3, 10)
is.int(A) # returns TRUE
is.int(B) # returns FALSE
is.int(C) # returns FALSE
}