Skip to main content
Module

x/denops_std/function/types.ts

📚 Standard module for denops.vim
Go to Latest
import * as denopsStd from "https://deno.land/x/denops_std@v4.1.3/function/types.ts";

Functions

Assert if x is Position by raising an AssertError when it's not.

Assert if x is ScreenPos by raising an AssertError when it's not.

f
ensurePosition
deprecated

Ensure if x is Position by raising an AssertError when it's not.

f
ensureScreenPos
deprecated

Ensure if x is ScreenPos by raising an AssertError when it's not.

Return true if the value is Position.

Return true if the value is ScreenPos.

Check if the value is valid BuiltinCompletion

Type Aliases

Builtin completion

Type of getpos() or setpos() result.

Type of screenpos() result.