the snak for this class in json format
const snak = new WikibasePropertySnak(snak);
Private
_numericIDthe numeric id of the property
true if the snak has a value
returns the ID of the property with the P
the ID of the property with the P
This function parses the string by slicing the first char and then number.parseInt if value is undefined it also sets the snaktype to 'novalue
the value that you want to set
create a unique id for the Snak
the id
returns the numeric part of the property
the numeric ID of the property
if value is undefined it also sets the snaktype to 'novalue
the numeric id to be set in the snak
this function checks if two snaks are equal
the other snak
true if the snaks are equal
if (snak.equals(other)) {
// do something
}
Generated using TypeDoc
class for the wikibase property snak
most used property of this type P1659 (see also)