as_yamlet.list | R Documentation |
Coerces list to yamlet. Assigns class 'yamlet'. Checks that list has names.
## S3 method for class 'list' as_yamlet(x, ...)
x |
list |
... |
ignored |
yamlet
Other yamlet:
[.yamlet()
,
as.character.yamlet()
,
as_yamlet.character()
,
as_yamlet.data.frame()
,
as_yamlet.yamlet()
,
as_yamlet.yam()
,
as_yamlet()
,
print.yamlet()
x <- list(a = 2, b = 3) as_yamlet(x)