bit32.bxor (...number) -> number
Performs a bitwise xor (exclusive or) of all input numbers and returns the result.
If the function is called with no arguments, 0 is returned.
bit32.bxor(3.14)
{
"def": "func",
"name": "bxor",
"energy": 0,
"must_use": true,
"sleep": 0,
"signatures": [
{
"def": "signature",
"result": [
{
"name": "",
"def": "result",
"desc": "",
"variadic": false,
"type": [
{
"def": "simple",
"value": "number"
}
],
"optional": false
}
],
"args": [
{
"def": "arg",
"name": "args",
"desc": "numbers to xor together",
"type": [
{
"def": "simple",
"value": "number"
}
],
"variadic": true,
"optional": false
}
]
}
],
"desc": "Performs a bitwise xor (exclusive or) of all input numbers and returns the result.\nIf the function is called with no arguments, `0` is returned.",
"link": "https://luau.org/library#bit32-library#:~:text=function%20bit32.bxor",
"takesSelf": false,
"private": false
}