R/ids.R
ids.Rd
None.
ids(xs)
(list()) Every element must have a slot 'id'.
list()
(character()).
character()
xs = list(a = list(id = "foo", a = 1), bar = list(id = "bar", a = 2)) ids(xs) #> [1] "foo" "bar"