Skip to contents

Convert Rule to List

Usage

# S3 method for rule
as.list(x, ...)

Arguments

x

(rule) to convert.

...

not used.

Examples


x <- rule("a" = c("a", "b"), "X" = "x")
as.list(x)
#> $a
#> [1] "a" "b"
#> 
#> $X
#> [1] "x"
#> 
#> $.string_as_fct
#> [1] TRUE
#> 
#> $.na_last
#> [1] TRUE
#> 
#> $.drop
#> [1] FALSE
#>