isValueObject()
True if maybeValue
is a JavaScript Object which has both equals()
and hashCode()
methods.
isValueObject(maybeValue: unknown): boolean
Discussion
Any two instances of value objects can be compared for value equality with Immutable.is()
and can be used as keys in a Map
or members in a Set
.
© 2014–present, Lee Byron and other contributors
Licensed under the 3-clause BSD License.
https://immutable-js.com/docs/v4.0.0/isValueObject()/