type is not callable solidity
In Solidity, the type
keyword is not used to make a type callable. The type
keyword is used to obtain the type of a variable at compile-time. It is used in the form type(variableName)
. For example, type(uint256)
will return the type uint256
.
Let me know if you need further assistance!