* Check if the element has a specific label.
(
label: TOtherLabel,
)
| 784 | * Check if the element has a specific label. |
| 785 | */ |
| 786 | public hasLabel<TOtherLabel>( |
| 787 | label: TOtherLabel, |
| 788 | ): this is Element<TSchema, TOtherLabel, TProperties, TStoredElement> { |
| 789 | return this.label === (label as unknown); |
| 790 | } |
| 791 | |
| 792 | /** |
| 793 | * Check if the element has a specific property. |
nothing calls this directly
no outgoing calls
no test coverage detected