hasSelection property

bool get hasSelection

Checks if there is any active selection (nodes, connections, or annotations).

Returns true if anything is selected, false otherwise.

Implementation

bool get hasSelection => _hasSelection.value;