R/plot-panels.R
is_length_all_one.Rd
check if a list has elements all of length one
is_length_all_one(x)
a list
TRUE or FALSE
l = list(a = 5, b = 1:2) is_length_all_one(l) # FALSE #> [1] FALSE l = list(a = 5, b = 1) is_length_all_one(l) # TRUE #> [1] TRUE