🌈 搜索
📅  最后修改于: 2022-03-11 14:54:11.291000             🧑  作者: Mango
$collection = collect([1, 2, 3, 4, 5]); $diff = $collection->diff([2, 4, 6, 8]); $diff->all(); // [1, 3, 5]