docs: function adaptAttributions(attributionLike) {
    if (!attributionLike) {
      return null;
    }
    if (Array.isArray(attributionLike)) {
      return function(frameState) {
        return attributionLike;
      };
    }
  
    if (typeof attributionLike === 'function') {
      return attributionLike;
    }
  
    return function(frameState) {
      return [attributionLike];
    };
  }