Function isWindows

  • Checks if the current platform is Windows.

    Returns boolean

    A boolean indicating whether the current platform is Windows.

    Remarks

    It checks the 'process' object and the 'platform' property to determine if the platform is 'win32'. It also checks the 'OSTYPE' environment variable to see if it matches 'msys' or 'cygwin'.

Generated using TypeDoc