Skip to content

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

ParameterTypeDescription
bitmapuint256The uint256 representation of bits.
indexuint8The index number to check whether 1 or 0 is set.