'baz' === $v]; yield [null, ['foo', 'bar', 'baz'], fn (string $v): bool => 'qux' === $v]; yield [null, [], fn (string $v): bool => 'qux' === $v]; yield ['baz', Iter\to_iterator(['foo', 'bar', 'baz']), fn (string $v): bool => 'baz' === $v]; yield [null, Iter\to_iterator(['foo', 'bar', 'baz']), fn (string $v): bool => 'qux' === $v]; yield [null, Iter\to_iterator([]), fn (string $v): bool => 'qux' === $v]; } }