Skip to main content

ValueParameter

  • This class represents the "VALUE" parameter

  • It is used to identify the data type of the value of a property

  • ValueParameter should be called with a single argument that is an instance of either one of the types

    note

    The data type specified by the VALUE parameter must correspond to the value of the property

    const propertyValue = new TextType("ahoy");

    const vp = new ValueParameter(propertyValue);

    //calling repr on vp
    vp.repr();
    //VALUE=text