Home > @esengine/ecs-framework-monorepo > BitMask64Utils > isZero
BitMask64Utils.isZero() method
检查掩码是否为零
Signature:
typescript
static isZero(mask: BitMask64Data): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
mask | 要检查的掩码 |
Returns:
boolean
如果掩码所有位都为0则返回true