Skip to main content
Module

x/denops_std/function/mod.ts>or

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

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>