name, slug, sourceRef, category, subCategory, playUrl, variantHelpers, similarHelpers, position, signatures
| name |
slug |
sourceRef |
category |
subCategory |
playUrl |
variantHelpers |
similarHelpers |
position |
signatures |
| FindKeyBy |
findkeyby |
find.go#L140 |
core |
find |
https://go.dev/play/p/9IbiPElcyo8 |
|
| core#find#findkey |
| core#find#findby |
| core#find#findorelse |
|
90 |
| func FindKeyBy[K comparable, V any](object map[K]V, predicate func(key K, value V) bool) (K, bool) |
|
Returns the first key in the map for which the predicate returns true.