Is there a function in Base that determines the most specific type?

Some notes:

  • there’s the Base.morespecific function, which does the ccall above, and converts to Bool
  • I don’t think there’s any supported way of doing what you want, morespecific isn’t a public interface
  • I guess a reduce(...) would be more efficient than first(sort(...))
3 Likes