getNodeType

Syntax

getNodeType()

Arguments

None

Details

Return the type of the node.

0: data node

1: agent

2: controller

3: standalone mode

Examples

$ getNodeType();

2