menu_items

Syntax

native menu_items(menu);

Usage

menu
Menu resource identifier.

Description

Returns the number of items in a menu.

Return

Number of items in the menu.

Error

Invalid menu resource.