From Onset Developer Wiki
Checks whether the game is in development mode. The development mode can be enabled by passing the -dev argument to the game executable.
- This function has no parameters.
- Returns true if the game was started with the -dev switch.
if IsGameDevMode() then -- some action end