Skip to main content
Module

x/denops_std/function/mod.ts>windowsversion

📚 Standard module for denops.vim
Go to Latest
function windowsversion
import { windowsversion } from "https://deno.land/x/denops_std@v6.4.0/function/mod.ts";

The result is a String. For MS-Windows it indicates the OS version. E.g, Windows 10 is "10.0", Windows 8 is "6.2", Windows XP is "5.1". For non-MS-Windows systems the result is an empty string.

Returns

Promise<string>