WindowsIsStringEmpty function winrt
Indicates whether the specified string is the empty string.
To learn more, see learn.microsoft.com/windows/win32/api/winstring/nf-winstring-windowsisstringempty.
Implementation
@pragma('vm:prefer-inline')
bool WindowsIsStringEmpty(HSTRING? string) =>
_WindowsIsStringEmpty(string ?? nullptr) != FALSE;