Skip to content

Hex.concat

Concatenates two or more Hex.Hex.

Imports

Named
import { Hex } from 'ox'

Examples

import { Hex } from 'ox'
 
Hex.concat('0x123', '0x456')
'0x123456'

Definition

function concat(
  values: readonly Hex[],
): Hex

Source: src/Hex.ts

Parameters

values

  • Type: readonly Hex[]

The Hex.Hex values to concatenate.

Return Type

The concatenated Hex.Hex value.

Hex