fn list_to_character(list: &RList) -> Vector
Coerce a list to a character vector by extracting each element’s string representation. Used for comparison operators on lists (e.g. lapply(x, class) == "NULL").
lapply(x, class) == "NULL"