Reduce

Overview

Using reduce

Cumulative product

Non short-circuit variant of anyall

First truthy / falsy element of a sequence or last element if there is none