Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/valibot/src/types/utils.ts

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
import * as valibot from "https://deno.land/x/valibot@v0.35.0/src/types/utils.ts";

Type Aliases

Deeply picks N specific keys.

Extracts first tuple item.

Extracts last tuple item.

Marks specific keys as optional.

Constructs a type that is maybe a promise.

Constructs a type that is maybe readonly.

Extracts null from a type.

Extracts null and undefined from a type.

Extracts undefined from a type.

Extracts tuples with path keys.

Prettifies a type for better readability.

Converts union to intersection type.

Converts union to tuple type.