@traversable/schema
    Preparing search index...

    Variable toStringConst

    toString: (schema: LowerBound) => string

    Converts an arbitrary valibot schema back into string form. Used internally for testing/debugging.

    Type declaration

    import * as v from "valibot"
    import { vx } from "@traversable/valibot"

    console.log(
    vx.toString(
    v.union([
    v.object({ tag: v.literal("Left") }),
    v.object({ tag: v.literal("Right") })
    ])
    )
    )
    // =>
    // v.union([
    // v.object({ tag: v.literal("Left") }),
    // v.object({ tag: v.literal("Right") })
    // ])