Files
YouTube.js/docs/api/namespaces/Utils/functions/deepCompare.md
2024-10-28 16:07:35 -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:54](https://github.com/LuanRT/YouTube.js/blob/305a398158a6cac82e6ef288fed4bf1661c89d52/src/utils/Utils.ts#L54)