Skip to content

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

Bits.and() method

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

Signature:

typescript
and(other: Bits): Bits;

Parameters

Parameter

Type

Description

other

Bits

另一个位集合

Returns:

Bits

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

基于 MIT 许可证发布