getNodeType

语法

getNodeType()

参数

详情

返回节点的类型。0表示数据节点;1表示代理节点;2表示控制器节点;3表示单节点模式;4表示计算节点。

例子

$ getNodeType();

2