Results for “Std.Yaml.Yaml”
14 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.Yaml.Yaml
A value a YAML document holds.
- Std.Yaml.asBoolean
&Std.Yaml.Yaml -> Option[Bool]The value as a truth value, or nothing when it is not one.
- Std.Yaml.asFractional
&Std.Yaml.Yaml -> Option[Str]The value as a fractional number written out, or nothing.
- Std.Yaml.asList
&Std.Yaml.Yaml -> Option[Array[Std.Yaml.Yaml]]The value as a list, or nothing when it is not one.
- Std.Yaml.asMapping
&Std.Yaml.Yaml -> Option[Array[(Str, Std.Yaml.Yaml)]]The value as named entries, or nothing when it is not a mapping.
- Std.Yaml.asText
&Std.Yaml.Yaml -> Option[Str]The value as text, or nothing when it is not text.
- Std.Yaml.asWhole
&Std.Yaml.Yaml -> Option[Int]The value as a whole number, or nothing when it is not one.
- Std.Yaml.at
&Std.Yaml.Yaml -> Int -> Option[Std.Yaml.Yaml]The value at a position of a sequence.
- Std.Yaml.decode
Str -> Result[Std.Yaml.Yaml, Std.Yaml.YamlError]Read a document.
- Std.Yaml.explain
&Std.Yaml.YamlError -> StrWhy a document was refused, written for a person to read.
- Std.Yaml.field
&Std.Yaml.Yaml -> Str -> Option[Std.Yaml.Yaml]The value under a key of a mapping, or nothing when there is none.
- Std.Yaml.isEmpty
&Std.Yaml.Yaml -> BoolWhether a document holds nothing at this place.
- Std.Yaml.keys
&Std.Yaml.Yaml -> Array[Str]The keys of a mapping, in the order they were written.
- Std.Yaml.path
&Std.Yaml.Yaml -> Str -> Option[Std.Yaml.Yaml]A value reached by a dotted path, which is how a setting is usually named.
