lowestCommonSuperType function

  1. @internal
JObjType lowestCommonSuperType(
  1. List<JObjType> types
)

Implementation

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