lowestCommonSuperType function

JObjType<JObject> lowestCommonSuperType(
  1. List<JObjType<JObject>> types
)

Implementation

JObjType lowestCommonSuperType(List<JObjType> types) {
  return types.reduce(_lowestCommonAncestor);
}