Update README.md

Fix README.md typo for SetToIf example
This commit is contained in:
Adam Bouhenguel 2021-09-11 15:45:43 -07:00 committed by GitHub
parent 7e73116d51
commit 9ec6c2a077
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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