stack

Home > @infiniteobjects/core-library-web > Obj > equals

Obj.equals() method

Deeply Checks if the given objects are the same

Signature:

static equals(object1: any, object2: any, depth?: number): boolean;

Parameters

Parameter Type Description
object1 any  
object2 any  
depth number (Optional)

Returns:

boolean