Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.forterulesengine.io/llms.txt

Use this file to discover all available pages before exploring further.

validateForeignCallJSON(foreignCall): Either<RulesError[], ForeignCallJSON>
Defined in: src/modules/validation.ts:400 Parses a JSON string and returns Either a ForeignCallJSON object or an error.

Parameters

ParameterTypeDescription
foreignCallstringstring to be parsed.

Returns

Either<RulesError[], ForeignCallJSON> Either the parsed ForeignCallJSON object or an error.