is_one

is_one(zdd)

Arguments

zdd

a zdd list object

Value

TRUE if the zdd matches the output of zdd1()

Examples

is_one(as_zdd(TRUE)) # TRUE
#> [1] TRUE
is_one(zdd(1L)) # FALSE
#> [1] FALSE