@prismshadow/penguin-core/kernel · Low-level Kernel & Upgrade

schema

function low-level
Source ↗
IMPORT import { schema } from "@prismshadow/penguin-core/kernel";

Wraps an arktype type as a kernel Schema (undeclared object keys rejected).

Declaration

export function schema<C extends Json>(t: Type<C, any>): Schema<C>

Parameters & Return

t

Type<C, any>

@returns

Type Cross-References

Static signature graph within @prismshadow/penguin-core/kernel
references1 kernel type