powered by
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 is_single("1.0") # TRUE is_single(1:5) # FALSE is_single(matrix(runif(4), 2, 2)) # FALSE
Run the code above in your browser using DataLab