gethash’s Multiple values
gethash returns two values
value associated with key or NIL
Whether or not the value was found
Second value helps you distinguish between
NIL as the value of the key
NIL as the value you get when the key has no value
Previous slide
Next slide
Back to first slide
View graphic version