Class for the MusicalNotationSnak.
Most used property of this type is P6883 (LilyPond notation).
The snak for this class in JSON format.
If the input does not match this datatype's Wikidata schema.
const snak = new MusicalNotationSnak(json); Copy
const snak = new MusicalNotationSnak(json);
Checks if the snak has a value.
True if the snak has a value.
Creates a unique ID for the Snak.
The ID.
This function checks if two snaks are equal.
The other snak.
True if the snaks are equal.
if (snak.equals(other)) { // do something } Copy
if (snak.equals(other)) { // do something }
The snak as JSON.
const json = musicalNotationSnak.toJSON(); Copy
const json = musicalNotationSnak.toJSON();
Class for the MusicalNotationSnak.
Most used property of this type is P6883 (LilyPond notation).