The key to set in the new copy
The value that should be assigned to the key in the new copy
A copy of the original context, additionally mapping the key to the new value.
Will only set the value if the key is not already set.
Returns a string representation of an object.
StaticensureConvert the given object to an action context object if it is not an action context object yet. If it already is an action context object, return the object as-is.
OptionalmaybeActionContext: IActionContext | Record<string, any>An action context or record.
An action context object.
Implementation of IActionContext using Immutable.js.