lib/address_space/ua_variable_type.js
/**
 * returns true if the parent object has a child  with the provided browseName
 * @param parent
 * @param childBrowseName
 */
returns true if the parent object has a child  with the provided browseName
@param parent
@param childBrowseName
returns true if the parent object has a child with the provided browseName @param parent @param childBrowseName
function hasChildWithBrowseName(parent,childBrowseName) {
    assert(parent instanceof BaseNode);
    var children = parent.findReferencesAsObject("HasChild", true);
    return children.filter(function(child){
        return child.browseName.name.toString()  === childBrowseName;
    }).length > 0;
}
function hasChildWithBrowseName ( parent , childBrowseName ) { assert ( parent instanceof BaseNode ) ; var children = parent . findReferencesAsObject ( "HasChild" , true ) ; return children . filter ( function ( child ) { return child . browseName . name . toString ( ) === childBrowseName ; } ) . length > 0 ; }
returns true if the parent object has a child  with the provided browseName
 @param parent
 @param childBrowseName
returns true if the parent object has a child with the provided browseName @param parent @param childBrowseName
// extract children