Type guard for a RuleId string, for validating rule ids from untrusted input (CLI args, config files) before calling explainRule or indexing rule-keyed data.
The value to test.
true if value is a known rule id.
true
value
Type guard for a RuleId string, for validating rule ids from untrusted input (CLI args, config files) before calling explainRule or indexing rule-keyed data.