isSubtypeOfInspectable<T> function

bool isSubtypeOfInspectable<T>()

Determines whether T is a subtype of IInspectable.

isSubtypeOfInspectable<FileOpenPicker>(); // true
isSubtypeOfInspectable<INetwork>(); // false

Implementation

bool isSubtypeOfInspectable<T>() => isSubtype<T, IInspectable>();