Skip to content

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

Bits.excludes() method

检查是否与另一个位集合没有交集

Signature:

typescript
excludes(other: Bits): boolean;

Parameters

Parameter

Type

Description

other

Bits

另一个位集合

Returns:

boolean

如果没有共同的设置位则返回true

基于 MIT 许可证发布