Files
YouTube.js/docs/api/namespaces/Utils/functions/deepCompare.md
2025-06-08 13:48:03 -03:00

23 lines
446 B
Markdown

[youtubei.js](../../../README.md) / [Utils](../README.md) / deepCompare
# Function: deepCompare()
> **deepCompare**(`obj1`, `obj2`): `boolean`
Compares given objects. May not work correctly for
objects with methods.
## Parameters
**obj1**: `any`
**obj2**: `any`
## Returns
`boolean`
## Defined in
[src/utils/Utils.ts:69](https://github.com/LuanRT/YouTube.js/blob/e1650e12979e68b9546bc63989f86b651960a10a/src/utils/Utils.ts#L69)