Skip to main content

PlatformDetector.isWindows() method

Checks whether the current platform is Windows.

Signature

isWindows(): boolean;

Returns

boolean

true if running on Windows, false otherwise.

Remarks

This convenience method provides a simple boolean check for Windows platform detection, commonly used for path handling and command formatting decisions.

Equivalent to checking platform === 'win32'.


Generated via tsdoc2docusaurus 1.3.2 by API Extractor/Documenter 7.57.2.