Learn R Programming

yamlet (version 1.2.1)

to_yamlet.default: Coerce Default to Yamlet Storage Format

Description

Coerces to yamlet storage format by default conversion to character.

Usage

# S3 method for default
to_yamlet(x, ...)

Value

length-one character

Arguments

x

object

...

ignored

See Also

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

Examples

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

Run the code above in your browser using DataLab