diff --git a/src/schemas/ImmutableUtils.js b/src/schemas/ImmutableUtils.js index e37ad07a..1cc84d9f 100644 --- a/src/schemas/ImmutableUtils.js +++ b/src/schemas/ImmutableUtils.js @@ -13,7 +13,8 @@ export function isImmutable(object) { return !!(object && ( (typeof object.hasOwnProperty === 'function' && object.hasOwnProperty('__ownerID')) || // Immutable.Map - (object._map && typeof object._map.hasOwnProperty === 'function' && object._map.hasOwnProperty('__ownerID')) // Immutable.Record + (object._map && typeof object._map.hasOwnProperty === 'function' && + object._map.hasOwnProperty('__ownerID')) // Immutable.Record )); }