BUPKIS
    Preparing search index...

    Function isStandardSchema

    • Returns true if the given value implements the Standard Schema v1 interface.

      This guard checks for the presence of the ~standard property with the required shape (version 1, vendor, validate function). It can detect any Standard Schema compliant library including Zod v4 (which implements the spec).

      Parameters

      • value: unknown

        Value to test

      Returns value is StandardSchemaV1<unknown, unknown>

      Whether the value is a Standard Schema v1 instance