A chuzzled object is nil if it is falsy, otherwise it has its falsy parts removed.
For example:
@"".chuzzle
isnil
- Also
@" ".chuzzle
isnil
- And
@"\r\t".chuzzle
isnil
@" 2 ".chuzzle
is@"2"
@[].chuzzle
isnil
@[@"", @1].chuzzle
is@[@1]
[NSNull null].chuzzle
isnil
@{}.chuzzle
isnil
@{@1: @""}.chuzzle
isnil
@{@1: @"", @2: @" 2 "}.chuzzle
is@{@2: @"2"}
Chuzzling occurs in-place, as far as it can. If a nil would be the chuzzled
result the mutable version becomes the empty equivalent, and the return is
nil
.