R.reflect.allModelRules(model) => RuleDescriptor[]
Returns a list of RuleDescriptors for all model rules in the given instance.
R.reflect.allRules(model) => RuleDescriptor[]
Returns a list of RuleDescriptors for all rules (Design and Model) on the given instance.
R.reflect.designIsKindOf(designA, designB) => boolean
Returns true if designA mixes in (directly or recursively) designB
R.reflect.getDesignDescriptor(designName) => DesignDescriptor
Returns the DesignDescriptor of the given design.
R.reflect.getDesignRuleDescriptor(designName, ruleName) => RuleDescriptor
Return the RuleDescriptor of the given Design rule. This will be the same as R.reflect.getRuleDescriptor unless ruleName has been overridden.
R.reflect.getRuleDescriptor(model, ruleName) => RuleDescriptor
Return the RuleDescriptor of the given rule.
R.reflect.isModelRule(model, ruleName) => boolean
Returns true
iff ruleName is a model rule on model.
Note that this, like all "reflect" methods, does not create a dependency on model.ruleName.
R.reflect.allDesignRules(designName) => RuleDescriptor[]
Returns a list of RuleDescriptors for all rules on the given Design.
The name (string) of the design.
An array of RuleDescriptors for the rules on designName.
R.reflect.allDesignRules('MyHouse')