-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
It's possible that an .immutable flag would be contained in data. For instance:
var myRecord = {
id: '3232',
payload: { ... },
immutable: true
}As a user, I want to be sure whether or not this is an actual immutable object, or simply data.
Acceptance:
An isImmutable predicate function is created, that confirms that:
*get, has, assoc and dissoc methods are available;
- the immutable flag is set.