The constraint grammar section in doc/pict.md does not mention ISNEGATIVE() and ISPOSITIVE(), but they are implemented in cli/ctokenizer.cpp (getFunction() and doPostParseExpansions()).
From reading the code, they appear to work as follows:
ISNEGATIVE([Param]) — true when the parameter's value is negative (prefixed with ~)
ISPOSITIVE([Param]) — true when the parameter's value is positive
ISNEGATIVE() / ISPOSITIVE() without arguments — expands to all parameters joined with OR / AND respectively
Are these intended for public use? If so, would you accept a PR to add them to the documentation and the constraints grammar?
The constraint grammar section in
doc/pict.mddoes not mentionISNEGATIVE()andISPOSITIVE(), but they are implemented incli/ctokenizer.cpp(getFunction()anddoPostParseExpansions()).From reading the code, they appear to work as follows:
ISNEGATIVE([Param])— true when the parameter's value is negative (prefixed with~)ISPOSITIVE([Param])— true when the parameter's value is positiveISNEGATIVE()/ISPOSITIVE()without arguments — expands to all parameters joined withOR/ANDrespectivelyAre these intended for public use? If so, would you accept a PR to add them to the documentation and the constraints grammar?