Test whether a type can be found within a list of types.
Type Parameters
T
A type to search for
Lextendsany[]
A list of types
Remarks
This will recursively check each type in the list L to see if it matches type T.
If returns true as soon as a match is found and false if no matches are found or
if the list is empty.
Test whether a type can be found within a list of types.