isSubtypeOfWinRTEnum<T> function
Determines whether T
is a subtype of WinRTEnum
.
isSubtypeOfWinRTEnum<AsyncStatus>(); // true
isSubtypeOfWinRTEnum<FileAttributes>(); // true
Implementation
bool isSubtypeOfWinRTEnum<T>() => isSubtype<T, WinRTEnum>();