is_empty_xml | R Documentation |
Check whether an object is empty, e.g. has no sub-elements, is NA
is_empty_xml(x)
x |
An object. |
is_empty_xml(NA) # TRUE
is_empty_xml(list()) # TRUE
is_empty_xml(list(list())) # TRUE
is_empty_xml(1) # FALSE
is_empty_xml("") # FALSE
is_empty_xml(list(1)) # FALSE
is_empty_xml(list(list(1))) # FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.