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.
2 parents 38f7d70 + 4914c49 commit 4820806Copy full SHA for 4820806
lib/elixir/lib/macro/env.ex
@@ -56,13 +56,13 @@ defmodule Macro.Env do
56
end
57
58
@doc """
59
- Returns wether the compilation environment is currently
+ Returns whether the compilation environment is currently
60
inside a guard.
61
"""
62
def in_guard?(record), do: context(record) == :guard
63
64
65
66
inside a match clause.
67
68
def in_match?(record), do: context(record) == :match
0 commit comments