Predicate in some() is optional. A test for boolean truth is used in that case.
So, first example is the same as:
some(bool, [0, '', -1, None, 2])So, first example is the same as:
some(bool, [0, '', -1, None, 2])No comments yet.