@shopify/cli-kit
    Preparing search index...

    Function shouldDisplayColors

    • Checks if the console outputs should display colors or not.

      Parameters

      • _process: Process = process

        Optional, the process-like object to use to check if the console should display colors. Defaults to the global process.

      Returns boolean

      True if the console outputs should display colors, false otherwise.