@joe.edwards said:
You can just type this method in if you're ever using a keyboard without an exclamation point key. Boom, problem solved.
No exclamation point needed if you expanded !bolParam out to:
bolParam = bolParam == false
Oh, and the function the OP posted could be useful if you needed to pass a delegate/callback to another function and it passed a single true/false value wherein you wanted the opposite value to be returned....without any extra logic, but then they could have shortened it in the function still...