[android-components](../../index.md) / [mozilla.components.concept.menu.ext](../index.md) / [kotlin.collections.List](index.md) / [findNestedMenuCandidate](./find-nested-menu-candidate.md)

# findNestedMenuCandidate

`fun `[`List`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[`MenuCandidate`](../../mozilla.components.concept.menu.candidate/-menu-candidate/index.md)`>.findNestedMenuCandidate(id: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`NestedMenuCandidate`](../../mozilla.components.concept.menu.candidate/-nested-menu-candidate/index.md)`?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/concept/menu/src/main/java/mozilla/components/concept/menu/ext/MenuCandidate.kt#L50)

Find a [NestedMenuCandidate](../../mozilla.components.concept.menu.candidate/-nested-menu-candidate/index.md) in the list with a matching [id](find-nested-menu-candidate.md#mozilla.components.concept.menu.ext$findNestedMenuCandidate(kotlin.collections.List((mozilla.components.concept.menu.candidate.MenuCandidate)), kotlin.Int)/id).

