Added blank identifier explanation to maps

This commit is contained in:
mathonsunday 2015-01-06 21:22:07 -08:00
parent 75f7fb9039
commit cb34420198

View File

@ -159,7 +159,10 @@ a map.</p>
<tr> <tr>
<td class="docs"> <td class="docs">
<p>The optional second return value when getting a <p> Above we didn&rsquo;t
need the index, so we ignored it with the
<em>blank identifier</em> <code>_</code>.
The optional second return value when getting a
value from a map indicates if the key was present value from a map indicates if the key was present
in the map. This can be used to disambiguate in the map. This can be used to disambiguate
between missing keys and keys with zero values between missing keys and keys with zero values