lib/address_space/ua_variable_type.js
/**
 * return true if node is a mandatory child or a requested optional
 * @param instance
 * @param optionals
 * @param node
 * @return {Boolean}
 */
return true if node is a mandatory child or a requested optional
@param instance
@param optionals
@param node
@return {Boolean}
return true if node is a mandatory child or a requested optional @param instance @param optionals @param node @return { Boolean }
function MandatoryChildOrRequestedOptionalFilter(instance, optionalsMap) {
    var self = this;
    assert(_.isObject(optionalsMap));
    assert(null != instance);
    self.optionalsMap= optionalsMap;
    self.instance = instance;
    self.references = [].concat(_.map(
        instance._referenceIdx), _.map(instance._back_referenceIdx));
}
function MandatoryChildOrRequestedOptionalFilter ( instance , optionalsMap ) { var self = this ; assert ( _ . isObject ( optionalsMap ) ) ; assert ( null != instance ) ; self . optionalsMap = optionalsMap ; self . instance = instance ; self . references = [ ] . concat ( _ . map ( instance . _referenceIdx ) , _ . map ( instance . _back_referenceIdx ) ) ; }
return true if node is a mandatory child or a requested optional
 @param instance
 @param optionals
 @param node
 @return {Boolean}
return true if node is a mandatory child or a requested optional @param instance @param optionals @param node @return { Boolean }
// should we clone the node to be a component or propertyOf of a instance