query
On this page

xor

lib.xor

Docs pulled from | This Revision | about 1 hour ago


boolean “exclusive or”

Inputs

x

1. Function argument

y

2. Function argument

(lib.trivial.xor)

Noogle detected

Aliases

Implementation

The following is the current implementation of this function.

xor = x: y: (!x) != (!y);