View Source Unplug.Predicates.EnvVarEquals (Unplug v1.1.0)
Given an environment variable, execute the plug if the configured value matches the expected value.
Usage:
plug Unplug,
if: {Unplug.Predicates.EnvVarEquals, {"ENABLE_DEBUG", "true"}},
do: MyApp.Plug