Array

Git Source

Functions

toArray

Convert a uint256 element to an array.

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

Parameters

Name
Type
Description

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

Name
Type
Description

element

address

The element to convert.

Last updated