is_single_number.Rd
Tests if an object is a single number
is_single_number(x)
an R object
is_single_number(1.0) # TRUE
#> [1] TRUE
is_single_number("hoskdflksfd") # FALSE
#> [1] FALSE
is_single_number("1.0") # FALSE
#> [1] FALSE
is_single_number(1:5) # FALSE
#> [1] FALSE