docs: function findAddressComponent(components, type) {
    for (var i = 0; i < components.length; i++) {
      if (components[i].types.indexOf(type) > -1) {
        return components[i];
      }
    }
  
    return null;
  }