alias TOML::Type

Overview

Recursive union of every type a TOML value can decode to.

Mirrors the type returned by crystal-community/TOML.cr so a consumer can drop in toml without rewriting their call sites that pattern-match on the value.

Alias Definition

Array(TOML::Type) | Bool | Float64 | Hash(String, TOML::Type) | Int64 | String | Time | Time::Span | Nil

Defined in:

toml/hash_builder.cr