Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ddc_vim/deps.ts>fn.invert

Dark deno-powered completion framework for neovim/Vim8
Very Popular
Go to Latest
function fn.invert
import { fn } from "https://deno.land/x/ddc_vim@v3.9.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>