Skip to content

Home > @esengine/ecs-framework-monorepo > BitMask64Utils > isZero

BitMask64Utils.isZero() method

检查掩码是否为零

Signature:

typescript
static isZero(mask: BitMask64Data): boolean;

Parameters

Parameter

Type

Description

mask

BitMask64Data

要检查的掩码

Returns:

boolean

如果掩码所有位都为0则返回true

基于 MIT 许可证发布