[android-components](../../index.md) / [mozilla.components.concept.menu.ext](../index.md) / [kotlin.sequences.Sequence](index.md) / [max](./max.md)

# max

`fun `[`Sequence`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/index.html)`<`[`MenuEffect`](../../mozilla.components.concept.menu.candidate/-menu-effect.md)`>.max(): `[`MenuEffect`](../../mozilla.components.concept.menu.candidate/-menu-effect.md)`?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/concept/menu/src/main/java/mozilla/components/concept/menu/ext/MenuCandidate.kt#L57)

Select the highlight with the highest priority.

