Skip to main content

DeathPlaceProperty

  • This class represents the "DEATHPLACE" property

  • This class should be called with two arguments, the first an array of the parameters, and the second the value of the property

  • The only acceptable parameters of DeathPlaceProperty are ValueParameter, LanguageParameter, AltidParameter and AnyParameter

  • LanguageParameter may only be used when the value is of type TextType

  • If you do not wish that the property have any parameters, leave the first argument array empty

  • The value of DeathPlaceProperty should be of type URIType or TextType

new DeathPlaceProperty([], new TextType("Meadow village"));

const deathplace2val = new TextType("Town center");

new DeathPlaceProperty([new ValueParameter(deathplace2val)], deathplace2val);