Array

Array

Functions

toArray

Convert a uint256 element to an array.

function toArray(uint256 element) internal pure returns (uint256[] memory array);

Parameters

NameTypeDescription

element

uint256

The element to convert.

toArray

Convert an address element to an address array.

function toArray(address element) internal pure returns (address[] memory array);

Parameters

NameTypeDescription

element

address

The element to convert.

Last updated