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.or

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

Bitwise OR on the two arguments. The arguments are converted to a number. A List, Dict or Float argument causes an error. Example: :let bits = or(bits, 0x80) Can also be used as a |method|: :let bits = bits->or(0x80)

Parameters

denops: Denops
expr1: unknown
expr2: unknown

Returns

Promise<unknown>