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

Given an environment variable, execute the plug if the environment variable value is not in the provided enumerable of values.

Usage:

plug Unplug,
  if: {Unplug.Predicates.EnvVarNotIn, {"ENABLE_DEBUG", ["true", "1"]}},
  do: MyApp.Plug