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

IsLastDocInEnvelope
Syntax
IsLastDocInEnvelope();
Description
Checks if the current document is the last document in the envelope. The function can be used at the following post-processing scripting levels:
Before and after document, process and page.
Returns
Example
if(IsLastDocInEnvelope())
{
    $ok=1;
}
OpenText StreamServe 5.6 Updated: 2013-03-01