ParsedRules
API / publicodes / ParsedRules
type ParsedRules<RuleNames>: Record<RuleNames, RuleNode<RuleNames>>;
A set of rules that have been parsed from a RawPublicodes object.
Type Parameters
Type Parameter | Default type |
---|---|
RuleNames extends string | string |
Remarks
The Engine.evaluate method is responsable for parsing the rules and cache them in the engine, but you can also parse them manually with the $parsePublicodes function.