• Returns whether an environment variable value represents a truthy value.

    Parameters

    • variable: undefined | string

      Environment variable value to check.

    Returns boolean

    True when the value is truthy, e.g. '1', 'true', etc.