Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function matches.arrayOf
Re-export
import { matches } from "https://deno.land/x/embassyd_sdk@v0.3.4.0.0-alpha2/lib/esm/dependencies.js";
const { arrayOf } = matches;

We would like to validate that all of the array is of the same type

Parameters

validator

What is the validator for the values in the array