Right now, it seems that Optional values are always treated as not falsey. I think it would make sense to treat optionals as 1-or-zero element collections. Maybe there should even be automatic chaining for nested selectors? ({{# foo.bar }} where both foo and bar are optionals?)
Right now, it seems that
Optional
values are always treated as not falsey. I think it would make sense to treat optionals as 1-or-zero element collections. Maybe there should even be automatic chaining for nested selectors? ({{# foo.bar }}
where bothfoo
andbar
are optionals?)