Abstract
Represents a Snak in the Wikidata model.
Creates an instance of Snak.
The snak in a JSON format.
const snak = new Snak(json); Copy
const snak = new Snak(json);
Checks if the snak has a value.
True if the snak has a value.
Creates a unique ID for the Snak.
The ID.
Checks if this Snak is equal to another Snak.
The other Snak to compare with.
True if the Snaks are equal.
Converts the Snak to a JSON object.
The JSON representation of the Snak.
Represents a Snak in the Wikidata model.