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

x/netzo/components/blocks/form/utils.ts>getBaseType

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
function getBaseType
import { getBaseType } from "https://deno.land/x/netzo@0.4.40/components/blocks/form/utils.ts";

Get the type name of the lowest level Zod type. This will unpack optionals, refinements, etc.

Parameters

schema: z.ZodAny

Returns

string