Skip to main content

Function: intersectObjects()

intersectObjects<ObjType>(obj1, obj2): ObjType

Defined in: src/common/web/utils/ObjectUtils.ts:62

Intersects two objects, creating a new one containing only values shared by both objects.

Type Parameters​

ObjType​

ObjType extends Record<any, any> = object

Parameters​

obj1​

ObjType

The first object.

obj2​

ObjType

The second object.

Returns​

ObjType

  • The intersection object.