# BT.has_path

## 功能

判断当前有效 PATH 是否包含指定路径。

## 语法

```bt
BT.has_path(path)
```

## 参数

| 参数 | 类型 | 必填 | 默认值 | 说明 |
| ------ | ------ | ------ | ------ | ------ |
| path | String | 是 | 无 | 要判断的路径。 |

## 返回值

| 类型 | 说明 |
| ------ | ------ |
| Bool | PATH 包含该路径时返回 true，否则返回 false。 |

## 示例

```bt
BT.add_path('@/bin')
result = BT.has_path('@/bin')

// 输出：true
print result
```

## 注意事项

- Windows 下路径文本比较不区分大小写。
