whole_func_string: function replaceElement(newChild, oldChild) {
  	  if (!is$1.element(oldChild) || !is$1.element(oldChild.parentNode) || !is$1.element(newChild)) {
  	    return null;
  	  }
  
  	  oldChild.parentNode.replaceChild(newChild, oldChild);
  	  return newChild;
  	}
func_code_string: function replaceElement(newChild, oldChild) {
  	  if (!is$1.element(oldChild) || !is$1.element(oldChild.parentNode) || !is$1.element(newChild)) {
  	    return null;
  	  }
  
  	  oldChild.parentNode.replaceChild(newChild, oldChild);
  	  return newChild;
  	}
func_documentation_string: Replace element