YouTube.js
Guide
Discord
❤️ Sponsor
GitHub
Guide
Discord
❤️ Sponsor
GitHub

youtubei.js / Utils / 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

Edit this page
Last Updated: 7/22/25, 7:42 PM
Contributors: Luan