hed-typescript API
    Preparing search index...

    A schema unit modifier.

    Hierarchy (View Summary)

    Index
    booleanAttributeNames: Set<string>

    The set of boolean attribute names this schema entry has.

    booleanAttributes: Set<default>

    The set of boolean attributes this schema entry has.

    valueAttributeNames: Map<string, string[]>

    The collection of value attribute names this schema entry has.

    valueAttributes: Map<default, string[]>

    The collection of value attributes this schema entry has.

    • get description(): string | undefined

      The description of this schema entry.

      Returns string | undefined

    • Determine if this schema unit modifier is equivalent to another schema unit modifier.

      Parameters

      • other: unknown

        A schema unit modifier to compare with this one.

      Returns boolean

      Whether the other unit modifier is equivalent to this schema unit modifier.

      Schema unit modifiers are deemed equivalent if they have the same name and equivalent attributes.

    • Retrieve a single value of a value attribute (by name) on this schema entry, throwing an error if more than one value exists.

      Parameters

      • attributeName: string

        The attribute whose value should be returned.

      Returns string | undefined

      The value of the attribute.

      If the attribute has more than one value.