From bc5d152e860fdefd9792937b46af8e3eabce1dc1 Mon Sep 17 00:00:00 2001 From: chriseth Date: Fri, 23 Nov 2018 09:54:27 +0100 Subject: [PATCH] Update docs/types.rst Co-Authored-By: ChrisChinchilla --- docs/types.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/types.rst b/docs/types.rst index e01e2f775..cf123055d 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -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 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` 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` to revert the whole transaction, or return a tuple with a second `bool` value denoting success. .. index:: ! value type, ! type;value