/// <summary>
/// Indicates whether the current application is running as WASM in a browser.
/// </summary>
//Link: https://learn.microsoft.com/en-us/dotnet/api/system.operatingsystem.isbrowser?view=net-10.0
public static bool IsBrowser() =>
RuntimeInformation.FrameworkDescription.Contains(".NET WebAssembly");