yaschema
    Preparing search index...

    Function object

    • Requires an object. Separate schemas a specified per key. The keys of values that may be undefined are treated as optional.

      Type Parameters

      • ObjectT extends Record<string, any>

      Parameters

      • map: InferRecordOfSchemasFromRecordOfValues<ObjectT>

      Returns ObjectSchema<ObjectT>