Diagnose representation of bitwhich
bitwhich_representation(x)
Value
a scalar, one of logical(), FALSE, TRUE, -1 or 1
Examples
bitwhich_representation(bitwhich())
#> logical(0)
bitwhich_representation(bitwhich(12, FALSE))
#> [1] FALSE
bitwhich_representation(bitwhich(12, TRUE))
#> [1] TRUE
bitwhich_representation(bitwhich(12, -3))
#> [1] -1
bitwhich_representation(bitwhich(12, 3))
#> [1] 1