Function OSSingleton.hasEnvironment

Returns true if an environment variable exists.

bool hasEnvironment (
  const(String) environment
) nothrow @nogc const;