shallowEqual
shallowEqual(objA: any,objB: any): boolean
Copyright (c) 2013-present, Facebook, Inc.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
Performs equality by iterating through keys on an object and returning false
when any key has values which are not strictly equal between the arguments.
Returns true when the values of all keys are strictly equal.
Properties
(Mandatory properties are in bold)Properties | Type | Description |
---|---|---|
objA | any | |
objB | any |