correct way to tell if my selection caught any existing elements March 20, 2023 by Tarik Use selection.empty(). Also, if the selection is empty, there’s no need to remove it.