Descriptor for an element in a BOM document.
See the docs
RangeError if value is invalid
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.
Static
Whether the value is a valid descriptor for an element in a BOM document.
value
Descriptor for an element in a BOM document.
See the docs