WindowsIsStringEmpty function winrt

bool WindowsIsStringEmpty(
  1. HSTRING? string
)

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;