It would be excellent to have a little more explanation about why the code returns false for the last example in the section: docs&.first&.words&.first&.reverse.
Good catch!
I accidentally pulled in the wrong code example here. The correct bit of code is:
(1 == 0)&.to_s
Since 1 == 0 is false and false is not nil, we get “false”.
Thanks!
R