R/isIntegerish.R

Defines functions isIntegerish

#' @useDynLib checkmate c_is_integerish
isIntegerish = function(x, tol = sqrt(.Machine$double.eps)) {
  tol = as.double(tol)
  .Call(c_is_integerish, x, tol)
}

Try the checkmate package in your browser

Any scripts or data that you put into this service are public.

checkmate documentation built on Sept. 11, 2024, 8:40 p.m.