Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e346aff commit 0cff7ecCopy full SHA for 0cff7ec
getting-started/basic-operators.markdown
@@ -38,7 +38,7 @@ Providing a non-boolean will raise an exception:
38
39
```iex
40
iex> 1 and true
41
-** (ArgumentError) argument error: 1
+** (BadBooleanError) expected a boolean on left-side of "and", got: 1
42
```
43
44
`or` and `and` are short-circuit operators. They only execute the right side if the left side is not enough to determine the result:
0 commit comments