Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ddc_vim/deps.ts>fn.windowsversion

Dark deno-powered completion framework for neovim/Vim8
Very Popular
Go to Latest
function fn.windowsversion
import { fn } from "https://deno.land/x/ddc_vim@v0.17.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>