is_windows

Function is_windows 

Source
pub const fn is_windows() -> bool
Expand description

Checks if the current platform is Windows.

Returns true on Windows, false on Unix-like systems (macOS, Linux, BSD).