v0.3
v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js
LangChain.js
@langchain/core
utils/types
isZodSchema
Function isZodSchema
is
Zod
Schema
<
RunOutput
>
(
schema
)
:
schema
is
ZodType
<
RunOutput
,
ZodTypeDef
,
RunOutput
>
Backward compatible isZodSchema for Zod 3
Type Parameters
RunOutput
extends
Record
<
string
,
unknown
>
=
Record
<
string
,
unknown
>
Parameters
schema
:
Record
<
string
,
unknown
>
|
ZodType
<
RunOutput
,
ZodTypeDef
,
RunOutput
>
Returns
schema
is
ZodType
<
RunOutput
,
ZodTypeDef
,
RunOutput
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
LangChain.js
Loading...
Backward compatible isZodSchema for Zod 3