Provides extensions for boolean values.
More...
|
static bool | Negate (this ref bool value) |
| Negates the given boolean in-place: if you do flag.Negate(), the value held in flag should be negated and returned.
|
Provides extensions for boolean values.
◆ Negate()
bool PeanutButter.Utils.BooleanExtensions.Negate |
( |
this ref bool | value | ) |
|
|
static |
Negates the given boolean in-place: if you do flag.Negate(), the value held in flag should be negated and returned.
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- source/Utils/PeanutButter.Utils/BooleanExtensions.cs