(fix) Correct misplaced Markdown codeblock in Some example (#862)

Tiny little fix to correct a Markdown formatting issue with the example for `lo.Some()`
This commit is contained in:
Jay Pipes
2026-04-21 19:08:29 -04:00
committed by GitHub
parent 4cad1fbce5
commit 6a523f9847
+2 -3
View File
@@ -2958,14 +2958,13 @@ If the subset is empty Some returns false.
```go ```go
ok := lo.Some([]int{0, 1, 2, 3, 4, 5}, []int{0, 6}) ok := lo.Some([]int{0, 1, 2, 3, 4, 5}, []int{0, 6})
// true // true
```
[[play](https://go.dev/play/p/Lj4ceFkeT9V)]
ok := lo.Some([]int{0, 1, 2, 3, 4, 5}, []int{-1, 6}) ok := lo.Some([]int{0, 1, 2, 3, 4, 5}, []int{-1, 6})
// false // false
``` ```
[[play](https://go.dev/play/p/Lj4ceFkeT9V)]
### SomeBy ### SomeBy
Returns true if the predicate returns true for any of the elements in the collection. Returns true if the predicate returns true for any of the elements in the collection.