Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ddc_vim/deps.ts>fn.assertScreenPos

Dark deno-powered completion framework for neovim/Vim
Go to Latest
function fn.assertScreenPos
import { fn } from "https://deno.land/x/ddc_vim@v4.1.0/deps.ts";
const { assertScreenPos } = fn;

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

Parameters

x: unknown

Returns

asserts x is ScreenPos