Function __global->is_cli

Definitions

sources/global3.php

  • Find if running as CLI (i.e. on the command prompt). This implies admin credentials (web users can't initiate a CLI call), and text output.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: bool

Return

  • Whether running as CLI
  • Type: boolean
  • Set: N/A
  • Range: N/A