[Proposal] Boolean matching
blowfishpro opened this issue · 1 comments
blowfishpro commented
C# boolean parsing is case-insensitive, so boolean values in configs can often end up with different cases. This is difficult to account for in patches. It would be convenient to have a way to check for boolean equality, e.g. something like NODE:HAS[#someFlag[!true]]
. Not sure if !
is the best character to use here since (1) it's used elsewhere in MM and (2) In programming it usually inverts whatever proceeds it, so open to other suggestions.
Alternately, there could be some way of doing case-insensitive comparison which would also solve this issue.
sarbian commented
"?" is still free I think ? I guess it would work for a boolean test