Function: isStandardSchema()
ts
function isStandardSchema(value): value is StandardSchemaV1<unknown, unknown>;Defined in: packages/core/src/core/StandardSchema.ts:209
Check if a value implements the Standard Schema v1 spec.
Parameters
| Parameter | Type | Description |
|---|---|---|
value | unknown | Any value to check |
Returns
value is StandardSchemaV1<unknown, unknown>
true if the value has a valid ~standard property