• Creates a new parameter expression. The difference with boolean is that you can change the value of a parameter later on, and the styling will be updated to reflect the new value without having to re-create the expressions in which it is used. Only booleans may be used as value.

      var parameter = ExpressionFactory.booleanParameter(true);
    ...
    parameter.value = false;//Only ever assign booleans.

    Parameters

    • value: boolean

      The initial value of the parameter.

    Returns ParameterExpression<boolean>

    A parameter expression.