NProperty
This class represents the "N" 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
NProperty
areValueParameter
,SortAsParameter
,LanguageParameter
,AltidParameter
andAnyParameter
If you do not wish that the property have any parameters, leave the first argument array empty
The value of
NProperty
should be of typeSpecialValueType
const nArr = [
new TextType("Stevenson"),
new TextType("John"),
new TextListType([new TextType("Phillip"), new TextType("Paul")]),
new TextType("Dr."),
new TextListType([
new TextType("Jr."),
new TextType("M.D."),
new TextType("A.C.P."),
]),
];
const nPropVal = new SpecialValueType("nproperty", nArr);
new NProperty([], nPropVal);