• Checks if the JSON output is enabled via flag (--json or -j) or environment variable (SHOPIFY_FLAG_JSON).

    Parameters

    • environment: ProcessEnv = ...

      Process environment variables.

    Returns boolean

    True if the JSON output is enabled, false otherwise.