Skip to content

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

Bits.or() method

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

Signature:

typescript
or(other: Bits): Bits;

Parameters

Parameter

Type

Description

other

Bits

另一个位集合

Returns:

Bits

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

基于 MIT 许可证发布