Skip to main content
Module

x/denops_std/function/mod.ts>invert

📚 Standard module for denops.vim
Go to Latest
function invert
import { invert } from "https://deno.land/x/denops_std@v3.8.0/function/mod.ts";

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<unknown>