hasBit
Function · src/common/utils/math/BitMap.sol
Explained in: Actions and execution
solidity
function hasBit(uint256 bitmap, uint8 index) pure returns (bool)security-contact: sirt@aragon.org
| Parameter | Type | Description |
|---|---|---|
bitmap | uint256 | The uint256 representation of bits. |
index | uint8 | The index number to check whether 1 or 0 is set. |