to_yamlet.default {yamlet}R Documentation

Coerce Default to Yamlet Storage Format

Description

Coerces to yamlet storage format by default conversion to character.

Usage

## Default S3 method:
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.list(), to_yamlet.numeric(), to_yamlet.yamlet()

Examples

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

[Package yamlet version 1.2.0 Index]