18:09
@Suever Great work on clarifying what's truthy and what's falsy here! This can be used in the future as a canonical answer
2
A couple of comments: all values are non-zero could perhaps be replaced by it doesn't contain any zero value. That way the empty case is covered
Removing a final A is not possible if the array may be empty.
[]
is falsy, but []A
gives T
and thus is truthy
4 hours later…
« first day (161 days earlier) ← previous day next day → last day (3042 days later) »