Current section
Files
Jump to
Current section
Files
src/yodel@value.erl
-module(yodel@value).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
-define(FILEPATH, "src/yodel/value.gleam").
-export_type([value/0]).
-if(?OTP_RELEASE >= 27).
-define(MODULEDOC(Str), -moduledoc(Str)).
-define(DOC(Str), -doc(Str)).
-else.
-define(MODULEDOC(Str), -compile([])).
-define(DOC(Str), -compile([])).
-endif.
?MODULEDOC(
" Value type used in configuration error messages.\n"
"\n"
" **Note:** This type is re-exported from the main `yodel` module.\n"
" Import it via `import yodel` rather than importing this module directly.\n"
).
-type value() :: {string_value, binary()} |
{int_value, integer()} |
{float_value, float()} |
{bool_value, boolean()} |
null_value.