public function getNodeProperty(NodePath $nodePath, string $property)
    {
        $data = $this->getNode($nodePath);
        if (isset($data[$property])) {
            return $data[$property];
        } else {
            return null;
        }
    }
public function getNodeProperty(NodePath $nodePath, string $property)
    {
        $data = $this->getNode($nodePath);
        if (isset($data[$property])) {
            return $data[$property];
        } else {
            return null;
        }
    }
public function getNodeProperty ( NodePath $ nodePath , string $ property ) { $ data = $ this -> getNode ( $ nodePath ) ; if ( isset ( $ data [ $ property ] ) ) { return $ data [ $ property ] ; } else { return null ; } }
Return a particular property of the node.
@param NodePath $nodePath Node path
@param string $property Property name (e.g. 'nodeType')
@return mixed Property value or null if the node or property does not exist.
Return a particular property of the node .