validateLoadStateParams
validateLoadStateParams(
action
):InvalidRequestError
[]
Validates the parameters for loading the state into the VM.
Parameters
• action: LoadStateParams
<boolean
>
The parameters for the load state action.
Returns
- An array of errors, if any.
Example
Defined in
packages/actions/src/LoadState/validateLoadStateParams.js:26