ismenucurrent.md (607B)
1 --- 2 title: .IsMenuCurrent 3 description: 4 date: 2017-02-01 5 publishdate: 2017-02-01 6 lastmod: 2017-02-01 7 categories: [functions] 8 menu: 9 docs: 10 parent: "functions" 11 keywords: [menus] 12 signature: ["PAGE.IsMenuCurrent MENU MENUENTRY"] 13 workson: [menus] 14 hugoversion: 15 relatedfuncs: ["HasMenuCurrent"] 16 deprecated: false 17 draft: false 18 aliases: [] 19 needsexample: true 20 --- 21 22 `.IsMenuCurrent` is a method in `Page` object returning a _boolean_ value. It 23 returns `true` if the PAGE is the same object as the `.Page` in MENUENTRY in a 24 given MENU. 25 26 You can find its example use in [menu templates](/templates/menu-templates/).