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