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 c5e7800 commit 23bfe69Copy full SHA for 23bfe69
getting-started/basic-operators.markdown
@@ -45,10 +45,10 @@ iex> 1 and true
45
`or` and `and` are short-circuit operators. They only execute the right side if the left side is not enough to determine the result:
46
47
```iex
48
-iex> false and error("This error will never be raised")
+iex> false and raise("This error will never be raised")
49
false
50
51
-iex> true or error("This error will never be raised")
+iex> true or raise("This error will never be raised")
52
true
53
```
54
0 commit comments