The snak for this class in JSON format.
The amount of the quantity.
The number that the amount will be set to.
Checks if the snak has a value.
True if the snak has a value.
Creates a unique ID for the Snak.
The ID.
The lowerBound of the quantity.
The number that the lowerBound will be set to.
The upperBound of the quantity.
The number that the upperBound will be set to.
This function checks if two snaks are equal.
The other snak.
True if the snaks are equal.
StaticfromCreate a snak from some basic data.
The property of the snak in 'P-form'.
Amount of the quantity.
OptionallowerBound: null | numberLowerBound of the quantity.
OptionalupperBound: null | numberUpperBound of the quantity.
Optionalunit: `Q${number}`Unit of the quantity.
A snak with the given properties.
Class for the QuantitySnak.
Most used property of this type is P1215 (apparent magnitude).