@karmaniverous/get-dotenv
    Preparing search index...

    Function resolveExclusion

    • Resolve one exclusion flag (for example excludePrivate) from the raw CLI toggles of this invocation, with -a/--exclude-all and -A/--exclude-all-off between the individual flags and the defaults:

      1. an individual ON flag gives true;
      2. an individual OFF flag gives false;
      3. -a gives true;
      4. -A gives false;
      5. otherwise the stacked default.

      Parameters

      • on: unknown

        The raw individual "on" toggle.

      • off: unknown

        The raw individual "off" toggle.

      • all: unknown

        The raw excludeAll toggle (-a).

      • allOff: unknown

        The raw excludeAllOff toggle (-A).

      • stacked: boolean | undefined

        The value from the defaults stack and the parent bag.

      Returns boolean | undefined

      The resolved value; undefined means unset.

      resolveExclusion(undefined, undefined, true, undefined, undefined); // => true