toEscape

Convert a dchar to a YAML escape.

package @safe pure nothrow @nogc
dchar
toEscape
(
dchar value
)

Parameters

value dchar

The possibly escapable character.

Return Value

Type: dchar

If the character passed as parameter can be escaped, returns the matching escape, otherwise returns a null character.

Meta