# `Dialyxir.Warnings.NegativeGuardFail`
[🔗](https://github.com/jeremyjh/dialyxir/blob/1.4.8/lib/dialyxir/warnings/negative_guard_fail.ex#L1)

The function guard either presents an impossible guard or the only
calls will never succeed against the guards.

## Example

    defmodule Example do
      def ok(ok = "ok") when not is_bitstring(ok) do
        :ok
      end
    end

  or

    defmodule Example do
      def ok() do
        ok(:ok)
      end

      defp ok(ok) when not is_atom(ok) do
        :ok
      end
    end

---

*Consult [api-reference.md](api-reference.md) for complete listing*
