UNPKG

@langchain/langgraph

Version:

LangGraph

12 lines 434 B
/** * Checks if a value is an EntrypointFinal - use this instead of `instanceof`, as value may have been deserialized * @param value The value to check * @returns Whether the value is an EntrypointFinal */ export function isEntrypointFinal(value) { return (typeof value === "object" && value !== null && "__lg_type" in value && value.__lg_type === "__pregel_final"); } //# sourceMappingURL=types.js.map