g.js — graphical objects for JavaScript

xorxor

Perform the logical XOR operation.

The XOR operation returns true if one, and only one, of its inputs is true:

g.and(true, false);

See Also

  • and: Local AND operation.
  • or: Logical OR operation.
  • not: Logical NOT operation.