Core Library0.xAPI reference

Choose documentation 1

pr-173

Current version

pr-173
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

function libtmux-elixir

Wire.validate/2

Validates already-decoded JSON data and its complete encoded byte size.

Source and package
Qualified name
LibTmux.Wire.validate/2
Module
LibTmux
Declared in
Wire
Package
libtmux
Source
lib/libtmux/wire.ex
validate(value, options \\ []) @spec validate(term(), [LibTmux.Filter.limit_option()]) :: {:ok, value()} | {:error, LibTmux.Error.t()}

Description

Arrays must be proper lists; a malformed tail reports the containing array's path. An excess prefix returns the list limit before inspecting its tail.

See the worked example.

Parameters

Recorded calls

source calls
No call edges in the Elixir model.

The Elixir reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.Wire.validate/2.

Esc
Search in

Type to search.

Reference previewOpen reference