Skip to content

Commit

Permalink
fix reject()解释
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangbao committed Jan 11, 2017
1 parent d48ebdc commit fab75fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collections.md
Expand Up @@ -937,7 +937,7 @@
<a name="method-reject"></a>
#### `reject()` {#collection-method}

`reject` 方法以指定的回调函数筛选集合。该回调函数应该对希望从最终集合移除掉的项目返回 `true`
`reject` 方法以指定的回调函数筛选集合。会移除掉那些通过判断测试(即结果返回 `true`)的项目

$collection = collect([1, 2, 3, 4]);

Expand Down

0 comments on commit fab75fc

Please sign in to comment.