diff --git a/collections.md b/collections.md index 68362ed1f5..3aac6de0e1 100644 --- a/collections.md +++ b/collections.md @@ -723,7 +723,7 @@ The `reverse` method reverses the order of the collection's items: // [5, 4, 3, 2, 1] -#### `search()` +#### `search()` {#collection-method} The `search` method searches the collection for the given value and returns its key if found. If the item is not found, `false` is returned.