General function to create a distribution.
Source:R/is_one_string_that_is_a_number.R
is_one_string_that_is_a_number.Rd
General function to create a distribution.
Examples
# TRUE
is_one_string_that_is_a_number("3.14")
#> [1] TRUE
# FALSE
is_one_string_that_is_a_number(c("3.14", "42"))
#> [1] FALSE
is_one_string_that_is_a_number("")
#> [1] FALSE
is_one_string_that_is_a_number(42)
#> [1] FALSE
is_one_string_that_is_a_number("nonsense")
#> [1] FALSE