<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@easyops-cn/brick-next-pipes](./brick-next-pipes.md) &gt; [reverse](./brick-next-pipes.reverse.md)

## reverse() function

返回一个数组倒转之后的新数组。

 Array

**Signature:**

```typescript
export declare function reverse<T>(value: T[]): T[];
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  value | T\[\] | 数组。 |

**Returns:**

T\[\]

倒转后的新数组，如果输入不是数组则返回空数组。

