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

ParameterTypeDescription
rulesParsedRulesThe parsed rules
namestringThe namespace checked for experimental

Returns

boolean

Defined in

packages/core/src/ruleUtils.ts:134