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 GetPreviewTypeEx scripting function.
Returns
A number indicating if a job is a preview job.
0
>0
Example
See Example 43.
OpenText StreamServe 5.6.2 Updated: 2018-01-26