• Returns whether the --json flag is present in the arguments.

    Parameters

    • argv: string[] = process.argv

      The arguments to search for the --json flag.

    Returns boolean

    Whether the --json flag is present in the arguments.