Script.getMode

Queries the script for its current output mode. Since 1.12

class Script
getMode
()

Return Value

the current output mode of the script