powered by
Check if Object is Empty
is_empty(x)# S3 method for Container is_empty(x)# S3 method for dict.table is_empty(x)
# S3 method for Container is_empty(x)
# S3 method for dict.table is_empty(x)
TRUE if object is empty otherwise FALSE.
TRUE
FALSE
any R object.
R
co = container(1, 2) is_empty(co) is_empty(clear(co)) d = dict.table(a = 1:4, b = 4:1) is_empty(d) is_empty(clear(d))
Run the code above in your browser using DataLab