IsPreview Syntax IsPreview(); Description Checks if the current job is a preview job or not. Preview jobs are all jobs returning a non-zero value from the GetPreviewType scripting function. Returns A number indicating if a job is a preview job. 0 False. The current job is not a preview job. >0 True. The current job is a preview job. Example See Example 45.
IsPreview();
0
>0