# concat

[**utils**](https://limechain.gitbook.io/limechain-test/utils) • **Docs**

***

[near-sdk-js v2.0.0](https://limechain.gitbook.io/limechain-test/packages) / [utils](https://limechain.gitbook.io/limechain-test/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/dim-daskalov/near-sdk-js/blob/c95f5e9eab115df82feb9d8dca403e7b9c8c9534/packages/near-sdk-js/src/utils.ts#L45)
