From f57ef36c0e5fdefcb0893c51d466f6b4bb674797 Mon Sep 17 00:00:00 2001 From: Erik Kundt Date: Fri, 23 Nov 2018 17:16:18 +0100 Subject: Update docs/types.rst Co-Authored-By: ChrisChinchilla --- docs/types.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/types.rst b/docs/types.rst index 5a0acfbb..39238f8f 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, but newly +The concept of "undefined" or "null" values does not exist in Solidity, but newly declared variables always have a :ref:`default value` dependent on its type. 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. -- cgit v1.2.3