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

x/ddc_vim/deps.ts>fn.invert

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.invert
import { fn } from "https://deno.land/x/ddc_vim@v3.8.0/deps.ts";
const { invert } = fn;

Bitwise invert. The argument is converted to a number. A List, Dict or Float argument causes an error. Example:

:let bits = invert(bits)

Can also be used as a method:

:let bits = bits->invert()

Parameters

denops: Denops
expr: unknown

Returns

Promise<number>