is_single.Rd
Tests if an object is single (i.e. of length 1)
is_single(x)
an R object
is_single_number, is_single_string, is_single_logical
is_single_number
is_single_string
is_single_logical
is_single("hoskdflksfd") # TRUE #> [1] TRUE is_single("1.0") # TRUE #> [1] TRUE is_single(1:5) # FALSE #> [1] FALSE is_single(matrix(runif(4), 2, 2)) # FALSE #> [1] FALSE