Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valibot/src/types/utils.ts

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to 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.