Skip to content

getMappingLength

function getMappingLength(
address target,
bytes32 mappingSlot
) external returns (uint256 length);

Gets the number of elements in the mapping at the given slot, for a given address.