Skip to content

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

Bits.not() method

执行按位取反操作

Signature:

typescript
not(maxBits?: number): Bits;

Parameters

Parameter

Type

Description

maxBits

number

(Optional) 最大位数,默认为64

Returns:

Bits

新的位集合,包含按位取反的结果

基于 MIT 许可证发布