hed-typescript API
    Preparing search index...

    Function getDefinitionElements

    • Retrieve the definition elements of a category in one schema.

      Type Parameters

      • K extends keyof DefinitionElementTypes

      Parameters

      • rootElement: HedSchemaRootElement

        The root XML element of the schema.

      • category: K

        The definition category (e.g. "unitClass").

      Returns DefinitionElementTypes[K][]

      The definition elements.