| is_integerlike {checkthat} | R Documentation | 
Check if a Numeric Value is Integer-like
Description
This function checks if a numeric value is and integer-like scalar, meaning it is numeric and its length is 1.
Usage
is_integerlike(x)
Arguments
| x | Numeric value to check. | 
Value
TRUE if x is integer-like, otherwise FALSE.
See Also
is_proportion, is_count,
validate_proportion, validate_count
Examples
is_integerlike(3) # TRUE
is_integerlike(3.5) # FALSE
is_integerlike("3") # FALSE
is_integerlike(c(1, 2)) # FALSE
[Package checkthat version 0.1.0 Index]