Descriptor for an element in a BOM document.

See the docs

Hierarchy (View Summary)

Constructors

Accessors

Methods

Constructors

Accessors

  • get value(): string

    Returns string

  • set value(value: string): void

    Parameters

    • value: string

    Returns void

    RangeError if value is invalid

Methods

  • Compare one object with another.

    The purpose of this method is not to test for equality, but have deterministic comparability. As long as this method is deterministic, there is no need for a proper ordering in any result/downstream.

    Parameters

    Returns number

  • Whether the value is a valid descriptor for an element in a BOM document.

    Parameters

    • value: any

    Returns boolean