Update docs/types.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>
This commit is contained in:
chriseth 2018-11-23 09:54:27 +01:00 committed by GitHub
parent f1d02432a6
commit bc5d152e86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ Solidity provides several elementary types which can be combined to form complex
In addition, types can interact with each other in expressions containing In addition, types can interact with each other in expressions containing
operators. For a quick reference of the various operators, see :ref:`order`. operators. For a quick reference of the various operators, see :ref:`order`.
The concept of "undefined" or "null" values do not exist in Solidity. To handle any unexpected values, you should use the :ref:`revert function<assert-and-require>` to revert the whole transaction. The concept of "undefined" or "null" values do not exist in Solidity. To handle any unexpected values, you should use the :ref:`revert function<assert-and-require>` to revert the whole transaction, or return a tuple with a second `bool` value denoting success.
.. index:: ! value type, ! type;value .. index:: ! value type, ! type;value