View Source Unplug.Predicates.AppConfigNotEquals (Unplug v1.0.0)

Given an application and a key, do not execute the plug if the configured value matches the expected value.

Usage:

plug Unplug,
  if: {Unplug.Predicates.AppConfigNotEquals, {:my_app, :some_config, :disabled}},
  do: MyApp.Plug