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.

This documentation is generated from immutable.d.ts. Pull requests and Issues welcome.