to_yamlet.yamlet {yamlet}R Documentation

Coerce Yamlet to Yamlet Storage Format

Description

Coerces yamlet to yamlet storage format by unclassing to list.

Usage

## S3 method for class 'yamlet'
to_yamlet(x, ...)

Arguments

x

object

...

ignored

Value

length-one character

See Also

Other to_yamlet: to_yamlet(), to_yamlet.NULL(), to_yamlet.character(), to_yamlet.default(), to_yamlet.list(), to_yamlet.numeric()

Examples

library(magrittr)
 'a: [[d: [-1, 0, 1, 2]]]' %>% as_yamlet %>% to_yamlet

[Package yamlet version 1.2.0 Index]