ExternalDiagramDefinition.detector method
ExternalDiagramDefinition › detector
Unofficial
Detect whether the given text matches this diagram type.Signature:
detector(text: string): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| text | string | The diagram text to check. |
Returns: boolean — Whether the text matches this diagram type.