getNodeType

Syntax

getNodeType()

Arguments

None

Details

Return the type of the node.

0: data node

1: agent

2: controller

3: standalone mode

4: compute node

Examples

getNodeType();
// output
2