mini-effect
    Preparing search index...

    Function getMetadata

    • Beta

      Returns the metadata of a schema.

      If multiple metadata are defined, it shallowly merges them using depth-first search. If no metadata is defined, an empty object is returned.

      Type Parameters

      • const TSchema extends Schema$12

      Parameters

      • schema: TSchema

        Schema to get the metadata from.

      Returns InferMetadata<TSchema>

      The metadata, if any.