PeanutButter
Loading...
Searching...
No Matches
PeanutButter.Utils.BooleanExtensions Class Reference

Provides extensions for boolean values. More...

Static Public Member Functions

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.

Detailed Description

Provides extensions for boolean values.

Member Function Documentation

◆ 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
value
Returns

The documentation for this class was generated from the following file:
  • source/Utils/PeanutButter.Utils/BooleanExtensions.cs