whole_func_string: function getRoot(response) {
    var obj = response.getData();
    if (obj) {
      if (obj.persons) {
        return obj.persons;
      }
      else if (obj.childAndParentsRelationships) {
        return obj.childAndParentsRelationships;
      }
      else if (obj.relationships) {
        return obj.relationships;
      }
    }
    return {};
  }
func_code_string: function getRoot(response) {
    var obj = response.getData();
    if (obj) {
      if (obj.persons) {
        return obj.persons;
      }
      else if (obj.childAndParentsRelationships) {
        return obj.childAndParentsRelationships;
      }
      else if (obj.relationships) {
        return obj.relationships;
      }
    }
    return {};
  }
func_documentation_string: @ngdoc overview
  @name notes
  @description
  Functions related to notes
  
  {@link https://familysearch.org/developers/docs/api/resources#notes FamilySearch API Docs}