I was reading this code:
// Frag
@inline implicit final def _react_fragReactNode[T <% ReactNode](v: T): Frag = new ReactNodeFrag(v)
and wanted to figure out what can be passed to _react_fragReactNode
. I understand that T
has to satisfy a view bound but I do not want to go through all the implicits and inspect them all manually.
So I wonder if there is a way to figure out programmatically what T
-s are allowed ? Is there a tool for that ?
For example IntelliJ supports finding all super and subtypes of a given type, I wonder if there is a similar tool that can find all the types which can be implicitly converted to a given type (in this case ReactNode
)?