We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64a637b commit d68cf1cCopy full SHA for d68cf1c
getting-started/case-cond-and-if.markdown
@@ -257,7 +257,7 @@ iex> is_number(if true) do
257
** (RuntimeError) undefined function: if/1
258
```
259
260
-Which leads to an undefined function error as Elixir attempts to invoke `is_number/2`. Adding explicit parentheses is enough to resolve the ambiguity:
+Which leads to an undefined function error as Elixir attempts to invoke `if/1`. Adding explicit parentheses is enough to resolve the ambiguity:
261
262
```iex
263
iex> is_number(if true do
0 commit comments