cross-stitch - v2.0.0
    Preparing search index...

    Function parsePattern

    Public entry point (cross-stitch). Exposes the blessed surface: the validate/serialize facade, the derived-data helpers, and every type needed to describe and work with a pattern - none of which require importing Zod. The Zod schema objects themselves (for composition with .pick / .extend or direct .safeParse) are published separately on the cross-stitch/schema subpath.

    • Validate an in-memory value as a cross stitch pattern.

      Parameters

      • value: unknown

        The value to validate.

      Returns PatternResult

      The validated pattern, or the collected issues.