Skip to main content
Module

x/ddc_vim/deps.ts>fn.windowsversion

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.windowsversion
import { fn } from "https://deno.land/x/ddc_vim@v2.2.0/deps.ts";
const { windowsversion } = fn;

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<unknown>