Script functions reference > Script functions in alphabetical order > I > IsPreview

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
>0
Example
See Example 45.
OpenText StreamServe 5.6 Updated: 2013-03-01