langchain.js
Preparing search index...
@langchain/langgraph
graph/zod
withLangGraph
Function withLangGraph
withLangGraph
<
TValue
,
TUpdate
,
TSchema
extends
InteropZodType
<
TValue
>
>
(
schema
:
TSchema
,
meta
:
SchemaMeta
<
TValue
,
TUpdate
>
&
{
reducer
?:
undefined
}
,
)
:
TSchema
Type Parameters
TValue
TUpdate
TSchema
extends
InteropZodType
<
TValue
>
Parameters
schema
:
TSchema
meta
:
SchemaMeta
<
TValue
,
TUpdate
>
&
{
reducer
?:
undefined
}
Returns
TSchema
withLangGraph
<
TValue
,
TUpdate
,
TSchema
extends
InteropZodType
<
TValue
>
>
(
schema
:
TSchema
,
meta
:
SchemaMeta
<
TValue
,
TUpdate
>
,
)
:
ReducedZodChannel
<
TSchema
,
InteropZodType
<
TUpdate
>
>
Type Parameters
TValue
TUpdate
TSchema
extends
InteropZodType
<
TValue
>
Parameters
schema
:
TSchema
meta
:
SchemaMeta
<
TValue
,
TUpdate
>
Returns
ReducedZodChannel
<
TSchema
,
InteropZodType
<
TUpdate
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
langchain.js
Loading...