isStandardSchema<Input = any, Output = Input>(
schema: unknown
): schema is StandardSchemaV1<Input, | Name | Type | Description |
|---|---|---|
schema* | unknown |
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).