hasSelection property

bool get hasSelection

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

Returns true if anything is selected, false otherwise.

Implementation

bool get hasSelection => _hasSelection.value;