value with a bitmask of bits ones.
Parameters
Returns
bigint
The masked value.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
function mask(_value, _bits): bigint
value with a bitmask of bits ones.
| Parameter | Type | Description |
|---|---|---|
_value | BigNumberish | The value to mask. |
_bits | Numeric | The number of bits to mask. |
bigint
The masked value.
Was this page helpful?
