It is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




JSR Score
41%
Published
2 years ago (0.0.1)
deno-xor
Usage
A little library to have exclusive or function. Import xor function mod.ts file. It takes two boolean parameters and returns:
(true, true) = false (true, false) = true (false, true) = true (false, false) = false
Add Package
deno add jsr:@l3onh4rd/xor
Import symbol
import * as xor from "@l3onh4rd/xor";
Import directly with a jsr specifier
import * as xor from "jsr:@l3onh4rd/xor";
Add Package
pnpm i jsr:@l3onh4rd/xor
pnpm dlx jsr add @l3onh4rd/xor
Import symbol
import * as xor from "@l3onh4rd/xor";
Add Package
yarn add jsr:@l3onh4rd/xor
yarn dlx jsr add @l3onh4rd/xor
Import symbol
import * as xor from "@l3onh4rd/xor";
Add Package
vlt install jsr:@l3onh4rd/xor
Import symbol
import * as xor from "@l3onh4rd/xor";
Add Package
npx jsr add @l3onh4rd/xor
Import symbol
import * as xor from "@l3onh4rd/xor";
Add Package
bunx jsr add @l3onh4rd/xor
Import symbol
import * as xor from "@l3onh4rd/xor";