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

x/ddc_vim/deps.ts>fn.assertPosition

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

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

Parameters

x: unknown

Returns

asserts x is Position