返回此可迭代对象中满足给定 predicate 的唯一元素,如果没有找到或找到多个满足给定 predicate 的元素,则返回 null。
满足给定 predicate 的唯一元素,如果没有找到或找到多个满足给定 predicate 的元素,则返回 null。
用于测试每个元素的函数。