Test if values can be stored as integers without loss

can_coerce_to_integer(vals)

Arguments

vals

a vector of values to test

Value

TRUE if vals can be cast to integers without loss