Skip to content

createStaticDecisionStore()

type createStaticDecisionStore = (
inputStore: StaticInputMap, //
) => StaticDecisionStore;

Return value

Returns a StaticDecisionStore that can be used to retrieve decision and resolve decision values.

Params

inputStore: StaticInputMap

An input

Usage

const inputMap = createStaticInputMap(inputData, validator);
const store = createStaticDecisionStore(inputMap);