Skip to contents

Checks that an object represents a single finite number

Usage

is_single_valid_number(n)

Arguments

n

an object to check

Examples

mipdtrial:::is_single_valid_number(9)
#> [1] TRUE
mipdtrial:::is_single_valid_number(mtcars)
#> [1] FALSE
mipdtrial:::is_single_valid_number(c(1, 2))
#> [1] FALSE