Skip to content

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

Bits.containsAll() method

检查是否包含另一个位集合的所有位

Signature:

typescript
containsAll(other: Bits): boolean;

Parameters

Parameter

Type

Description

other

Bits

另一个位集合

Returns:

boolean

如果包含other的所有设置位则返回true

基于 MIT 许可证发布