> ## Documentation Index
> Fetch the complete documentation index at: https://baileys.wiki/llms.txt
> Use this file to discover all available pages before exploring further.

# getBinaryNodeChild

> Function getBinaryNodeChild in the Baileys API.

> **getBinaryNodeChild**(`node`, `childTag`): `undefined` | [`BinaryNode`](/api-reference/type-aliases/BinaryNode)

Defined in: [src/WABinary/generic-utils.ts:31](https://github.com/WhiskeySockets/Baileys/blob/master/src/WABinary/generic-utils.ts#L31)

## Parameters

### node

`undefined` | [`BinaryNode`](/api-reference/type-aliases/BinaryNode)

### childTag

`string`

## Returns

`undefined` | [`BinaryNode`](/api-reference/type-aliases/BinaryNode)
