v0.7.0
validateForeignCallJSON(Defined in: src/modules/validation.ts:390 Parses a JSON string and returns Either a ForeignCallJSON object or an error.foreignCall
):Either
<RulesError
[],ForeignCallJSON
>
Parameter | Type | Description |
---|---|---|
foreignCall | string | string to be parsed. |
Either
<RulesError
[], ForeignCallJSON
>
Either the parsed ForeignCallJSON object or an error.