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

x/value_schema/dist-deno/libs/applySchemaObjectCore.ts>applySchemaObjectCore

simple, easy-to-use, and declarative input validator; supports Node.js, TypeScript, Deno, and Bun
Latest
function applySchemaObjectCore
import { applySchemaObjectCore } from "https://deno.land/x/value_schema@v4.0.0/dist-deno/libs/applySchemaObjectCore.ts";

apply schema object to data

Parameters

schemaObject: S

schema object

data: unknown

data to apply

onError: ErrorHandler

error handler

onFinishWithError: FinishHandler

finish handler

keyStack: Key[]

path to key that caused error

Returns

applied data