collect.js ... The first method returns the first element in the collection that passes a given ... collect([1, 2, 3, 4]).first(item => item > 1); // 2.
確定! 回上一頁