Skip to content

ExternalDiagramDefinition.detector method

ExternalDiagramDefinition › detector

Unofficial

Detect whether the given text matches this diagram type.

Signature:

detector(text: string): boolean

Parameters:

Parameter Type Description
text string The diagram text to check.

Returns: booleanWhether the text matches this diagram type.