mirror of https://github.com/tevino/abool.git
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.IsNotSet() // Returns true
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue