Skip to main content
Module

x/denops_std/function/mod.ts>win_id2win

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

Return the window number of window with ID {expr}. Return 0 if the window cannot be found in the current tabpage.

Can also be used as a method:

GetWinid()->win_id2win()

Parameters

denops: Denops
expr: unknown

Returns

Promise<number>