TryParseBool(YamlReader, out Boolean) Method

Definition

Assembly SharpYaml.dll

Parses the current scalar token as a YAML boolean while honoring scalar style and UseSchema.

public static bool TryParseBool(YamlReader reader, scoped out bool result)

Parameters

reader
YamlReader

The reader positioned on a scalar token.

result
Boolean

The parsed boolean value.

Returns