is_empty {container} | R Documentation |
Check if Object is Empty
Description
Check if Object is Empty
Usage
is_empty(x)
## S3 method for class 'Container'
is_empty(x)
## S3 method for class 'dict.table'
is_empty(x)
Arguments
x |
any |
Value
TRUE
if object is empty otherwise FALSE
.
Examples
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))
[Package container version 1.0.4 Index]