Type guard for Standard Schema V1. Returns true if the value has a ~standard.validate interface,
indicating it can validate unknown values at runtime (e.g. for parsing LLM output).
isSerializableSchema<Input = any, Output = Input>(
schema: unknown
): schema is SerializableSchema<Input, Output>| Name | Type | Description |
|---|---|---|
schema* | unknown |