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

x/valibot/src/actions/sortItems/sortItems.ts>sortItems

The modular and type safe schema library for validating structural data 🤖
Latest
function sortItems
import { sortItems } from "https://deno.land/x/valibot@v1.0.0-beta.7/src/actions/sortItems/sortItems.ts";

Creates a sort items transformation action.

Parameters

optional
operation: ArrayAction<TInput>

The sort items operation.

Returns

A sort items action.