isExperimental
API / publicodes / utils / isExperimental
function isExperimental(rules, name): boolean
Experimental
Check wether a rule is tagged as experimental.
Takes into account the a children of an experimental rule is also experimental
Parameters
Parameter | Type | Description |
---|---|---|
rules | ParsedRules | The parsed rules |
name | string | The namespace checked for experimental |
Returns
boolean