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

x/valibot/src/index.ts>sortItems

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
function sortItems
import { sortItems } from "https://deno.land/x/valibot@v0.35.0/src/index.ts";

Creates a sort items transformation action.

Type Parameters

TInput extends readonly unknown[]

Parameters

optional
operation: ArrayAction<TInput>

The sort items operation.

Returns

A sort items action.