Update snippet descriptions
This commit is contained in:
@ -3,7 +3,7 @@ title: xor
|
||||
tags: math,logic,beginner
|
||||
---
|
||||
|
||||
Returns `true` if only one of the arguments is `true`, `false` otherwise.
|
||||
Checks if only one of the arguments is `true`.
|
||||
|
||||
- Use the logical or (`||`), and (`&&`) and not (`!`) operators on the two given values to create the logical xor.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user