Private
_internalIDa place to store the internalID so that it does not change if the contents of the object changes
create a unique id for the Reference
the id
this function checks if References are equal
the other snak
true if the snaks are equal
const reference = Reference.fromSnaks([
new Snak('P123', 'Q42'),
new Snak('P456', 'Q43')
]);
const reference2 = Reference.fromSnaks([
new Snak('P123', 'Q42')
]);
reference.equals(reference2); // false
Static
fromGenerated using TypeDoc
A class for References