Shorthand for conditionally applying, for example, new rules, if the given value is a BBCodeDataProcessor.
BBCodeDataProcessor
Example:
ifBBCodeDataProcessor(editor.data)?.addRules([ // …]); Copy
ifBBCodeDataProcessor(editor.data)?.addRules([ // …]);
value to validate
Shorthand for conditionally applying, for example, new rules, if the given value is a
BBCodeDataProcessor
.Example: