Skip to content

Add exclusive or (xor) to RQL #1018

@skizzerz

Description

@skizzerz

Currently we have and() and or() inside of RQL, but no xor(), so this enhancement request is meant to correct that.

For python and ruby, the operator symbol could be ^, which is already in use as the bitwise xor operator in C, C++, etc. and would match the current convention with & and | being used for logical and and logical or, respectively (for clarification this request is for logical xor, e.g. returns true if both sides are either both true or both false, and false if one side is true and the other is false).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions