method Assert.prototype.propEqual Assert.prototype.propEqual(actual: unknown,expected: unknown,message?: string): void Asserts that actual and expected have the same own enumerable properties and values. Prototype methods are ignored; only own properties are compared. Examples Example 1 assert.propEqual({ a: 1, b: 2 }, { a: 1, b: 2 }); // Ignores prototype methods — only own properties matter: function Point(x, y) { this.x = x; this.y = y; } assert.propEqual(new Point(1, 2), { x: 1, y: 2 }); Parameters actual: unknown The actual object. expected: unknown The expected object. optional message: string Optional failure message. Return Type void