the snak for this class in json format
const snak = new ExternalIdentifierSnak(json);
true if the snak has a value
create a unique id for the Snak
the id
this function checks if two snaks are equal
the other snak
true if the snaks are equal
if (snak.equals(other)) {
// do something
}
Static
fromIDcreate a snak from a property and a id string
the property of the snak in 'P-form'
the external identifier
a snak with the given properties
const snak = ExternalIdentifierSnak.fromID('P698', '12345678');
Generated using TypeDoc
class for the ExternalIdentifierSnak
most used property of this type P698 (PubMed ID)