Stone.js API
    Preparing search index...
    • Whether a value is a schema rather than a map of schemas.

      A schema is recognised by what it can do, not by what it is: every engine Stone.js accepts exposes one of validate, ~standard, parse or safeParse. Anything else is treated as a map of sources, which is why { body: X } and X can share one option without ambiguity.

      Parameters

      • value: unknown

        The declared value.

      Returns value is SchemaInput

      Whether it is a single schema.