API Reference zodish v#0.2.4

View Source

Modules

Zodish is a schema parser and validation library heavily inspired by JavaScript's Zod.

Common utility functions.

Represents an issue while parsing a value.

Type options have their own set of options, such as a custom error message. This module defines how to type those and how to merge default options with user-defined options.

Protocol for parsing values based on Zodish types.

Describes a type that accepts any value.

This module describes a Zodish atom type.

This module describes a Zodish boolean type.

This module describes a Zodish date type.

This module describes a Zodish date-time type.

This module describes a Zodish float type.

This module describes a Zodish enum type (atoms only).

This module describes a Zodish float type.

This module describes a Zodish integer type.

This module describes a Zodish list type.

Describes a type that only accepts a specific value.

This module describes a Zodish number type.

This module describes a Zodish numeric type (string).

Makes a given type optional, where you can also define a default value to be used when the value is nil.

This module describes a Zodish string type.

This module describes a Zodish tuple type.