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

# areJidsSameUser

> is the jid a user

> **areJidsSameUser**(`jid1`, `jid2`): `boolean`

Defined in: [src/WABinary/jid-utils.ts:88](https://github.com/WhiskeySockets/Baileys/blob/master/src/WABinary/jid-utils.ts#L88)

is the jid a user

## Parameters

### jid1

`undefined` | `string`

### jid2

`undefined` | `string`

## Returns

`boolean`
