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

x/ddc_vim/deps.ts>fn.xor

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

Bitwise XOR on the two arguments. The arguments are converted to a number. A List, Dict or Float argument causes an error. Also see and() and or(). Example:

:let bits = xor(bits, 0x80)

Can also be used as a method:

:let bits = bits->xor(0x80)

Parameters

denops: Denops
expr1: unknown
expr2: unknown

Returns

Promise<number>