copy
Get a copy of current state.
@parameters
Name
Type
Description
stateProp
string
Optional. Specific property of state.
@return
Type
Description
any
New copy of state or property of state.
Examples:
Copying the whole state
Copying specific property of state
Last updated
Was this helpful?