Core LibraryunreleasedAPI Reference

Choose documentation 1

latest

Current version

latest
English

Unreleased libtmux_erlang has not been released. Its API may change during development. This site's structure and URLs may change too.

function libtmux-erlang latest

tmux_schema:value/2

Validate and normalize one value against generated field metadata. Integral JSON numbers obey the exact shared integer range and field bounds; text is validated UTF-8, while bytes remain arbitrary binaries. Performs no I/O.

Source and package
Qualified name
tmux_schema:value/2
Declared in
tmux_schema
Package
libtmux_erlang
Source
apps/libtmux_erlang/src/tmux_schema.erl
value/2 -spec value(map(), term()) -> {ok, term()} | {error, error_detail()}.
Parameters
Esc

Type to search.

Reference previewOpen reference