The snak for this class in JSON format.
Checks if the snak has a value.
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.
Creates 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.
Class for the WikibasePropertySnak.
Most used property of this type P1659 (see also).