isSubtypeOfInspectable<T> function
Determines whether T
is a subtype of IInspectable
.
isSubtypeOfInspectable<FileOpenPicker>(); // true
isSubtypeOfInspectable<INetwork>(); // false
Implementation
bool isSubtypeOfInspectable<T>() => isSubtype<T, IInspectable>();