# concat

[**utils**](..) • **Docs**

***

[near-sdk-js v2.0.0](../../packages) / [utils](..) / concat

## Function: concat()

> **concat**(`array1`, `array2`): `Uint8Array`

Concat two Uint8Array

### Parameters

• **array1**: `Uint8Array`

• **array2**: `Uint8Array`

### Returns

`Uint8Array`

the concatenation of two array

### Defined in

[packages/near-sdk-js/src/utils.ts:45](https://github.com/near/near-sdk-js/blob/b58ac04fc6dff2f1120e9098c0cb059493486598/packages/near-sdk-js/src/utils.ts#L45)
