View Source JSV.BooleanSchema (jsv v0.3.0)
Represents a boolean schema. Boolean schemas accept or reject any data according to their boolean value.
This is very often used with the additionalProperties
keyword.
Summary
Functions
Returns a JSV.BooleanSchema
struct wrapping the given boolean.
Types
@type t() :: %JSV.BooleanSchema{valid?: boolean()}
Functions
Returns a JSV.BooleanSchema
struct wrapping the given boolean.