From 9ec6c2a0775f10311db9cf56ab431c82644551fb Mon Sep 17 00:00:00 2001 From: Adam Bouhenguel Date: Sat, 11 Sep 2021 15:45:43 -0700 Subject: [PATCH] Update README.md Fix README.md typo for SetToIf example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index af82669..6139a85 100644 --- a/README.md +++ b/README.md @@ -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