index Of
Provides the index of the menu command given the specified filter.
Return
The index of the menu command, or -1
if it was not found.
Parameters
filter
The filter to apply to the menu.
Provides the index of the menu command given the specified filter.
The index of the menu command, or -1
if it was not found.
The filter to apply to the menu.