@IsResponseDoc (JavaScript)

Indicates if the current document is a response document.

Defined in

@Functions (JavaScript)

Syntax

@IsResponseDoc() : int
Return value Description
int 1 if the document is a response document, 0 otherwise.

Examples

This example is the formula for a view column. The column displays the ID of the row document if it is a response document.
var docid = "";
if(@IsResponseDoc() == @True())
	docid = @DocID();