---
title: "IsMenuRowDisabled | open.mp"
description: "检查菜单行是否被禁用"
canonical: https://omp.itsneufox.com/zh-CN/docs/scripting/functions/IsMenuRowDisabled
language: zh-CN
---

# IsMenuRowDisabled

注意

这个函数是在omp v1.1.0.2612中添加的，在以前的版本中不起作用！

## 描述

检查指定菜单行是否被禁用。

| 参数 | 说明 |
| --- | --- |
| Menu:menuid | 需要检查的菜单 ID |

## 返回值

**true** - 菜单行已被禁用  
**false** - 菜单行未被禁用

## 相关函数

-   [IsValidMenu](https://omp.itsneufox.com/zh-CN/docs/scripting/functions/IsValidMenu): 验证菜单 ID 有效性
-   [IsMenuDisabled](https://omp.itsneufox.com/zh-CN/docs/scripting/functions/IsMenuDisabled): 检查菜单是否禁用
