@hbbio/nanoagent
    Preparing search index...

    Function applySchema

    • applySchema recursively applies the schema to the provided arguments:

      • Enforce required properties
      • Apply defaults
      • Coerce types
      • Validate types and enum membership

      Type Parameters

      • T extends Record<string, unknown>

      Parameters

      Returns T