# array

## 功能

把值转换为数组。

## 语法

```bt
array(value)
```

## 参数

| 参数 | 类型 | 必填 | 默认值 | 说明 |
| ------ | ------ | ------ | ------ | ------ |
| value | Any | 否 | 无 | 要转换的值。 |

## 返回值

| 类型 | 说明 |
| ------ | ------ |
| Array | 返回数组值。 |

## 示例

```bt
result = array('BT')

// 输出：["B","T"]
print result
```

## 注意事项

- 字符串会拆成字符数组。
- 对象会转换为值数组；Null、Empty 或无参数返回空数组。
