Skip to main content
Module

x/ddu_vim/deps.ts>fn.assertScreenPos

Dark deno-powered UI framework for neovim/Vim8
Go to Latest
function fn.assertScreenPos
import { fn } from "https://deno.land/x/ddu_vim@v1.13.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