$$BROKER^XWBLIB

Use this function in the M code called by an RPC to determine if the current process is being executed by the Broker.

Format

$$BROKER^XWBLIB

Input

(none)

Output

Return Value 1 if the current process is being executed by the Broker; 0 if not.

Example

I $$BROKER^XWBLIB D
.; broker-specific code