Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.qu.ai/llms.txt

Use this file to discover all available pages before exploring further.

function mask(_value, _bits): bigint
Mask value with a bitmask of bits ones.

Parameters

ParameterTypeDescription
_valueBigNumberishThe value to mask.
_bitsNumericThe number of bits to mask.

Returns

bigint The masked value.

Source

utils/maths.ts:106