Update snippet descriptions

This commit is contained in:
Isabelle Viktoria Maciohsek
2020-10-22 20:24:44 +03:00
parent 5cb69e3c5c
commit aa425812b4
40 changed files with 151 additions and 87 deletions

View File

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