Skip to content

Home > @esengine/ecs-framework-monorepo > Bits > xor

Bits.xor() method

与另一个位集合执行按位异或操作

Signature:

typescript
xor(other: Bits): Bits;

Parameters

Parameter

Type

Description

other

Bits

另一个位集合

Returns:

Bits

新的位集合,包含按位异或的结果

基于 MIT 许可证发布