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