hed-typescript API
    Preparing search index...
    Index
    defContents: default | null

    The definition contents group.

    defGroup: default

    The parsed HED group representing the definition

    defTag: default

    The name of the definition.

    name: string

    The name of the definition.

    placeholder: string | null

    If definition, this is the second value, otherwise empty string.

    • Return true if this definition is the same as the other.

      Parameters

      • other: unknown

        Another definition to compare with this one.

      Returns boolean

      True if the definitions are equivalent

      Two definitions are the same when their names match without case, they have the same placeholder form, and their contents have one normalized form (specification 3.2.3 and 3.2.8.1, DEFINITION_INVALID i).