forked from mirror/abool
Merge pull request #8 from ajbouh/patch-1
Fix a typo in the example of SetToIf
This commit is contained in:
commit
4c6c31b893
|
@ -19,7 +19,7 @@ cond.IsSet() // Returns true
|
||||||
cond.UnSet() // Sets to false
|
cond.UnSet() // Sets to false
|
||||||
cond.IsNotSet() // Returns true
|
cond.IsNotSet() // Returns true
|
||||||
cond.SetTo(any) // Sets to whatever you want
|
cond.SetTo(any) // Sets to whatever you want
|
||||||
cond.SetToIf(new, old) // Sets to `new` only if the Boolean matches the `old`, returns whether succeeded
|
cond.SetToIf(old, new) // Sets to `new` only if the Boolean matches the `old`, returns whether succeeded
|
||||||
|
|
||||||
|
|
||||||
// embedding
|
// embedding
|
||||||
|
|
Loading…
Reference in New Issue