Tests if the template parameter with the specified name has the specified value.
The function returns the same result as the following expression:
(However, the function will work a bit faster.)getParam(paramName) == value
Parameters:
paramName
The name of the template parameter whose value is to be tested.If the template has no parameter with that name, the generator will raise an error.
value
The value with which the parameter value is to be compared.
Returns:
true
if the parameter value is equal to the specified value;
false
otherwise
See Also:
getParam()