typeOf<X> function

Type typeOf<X>()

Reifies X so nullable targets can be compared, since T == String? is not valid syntax.

Implementation

Type typeOf<X>() => X;