to_yamlet.default: Coerce Default to Yamlet Storage Format

Description Usage Arguments Value See Also Examples

View source: R/yamlet.R

Description

Coerces to yamlet storage format by default conversion to character.

Usage

1
2
## Default S3 method:
to_yamlet(x, ...)

Arguments

x

object

...

ignored

Value

length-one character

See Also

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

Examples

1
2
3
4
to_yamlet(3)
to_yamlet(c(a = '4',b = '5.8'))
to_yamlet(c(a = 4,b = 5.8))
to_yamlet(TRUE)

yamlet documentation built on July 19, 2021, 1:06 a.m.