remove
Removes a label from the collection. Once removed, a label is no longer usable.
const l = labels.add(...);
labels.remove(l); // Returns true
Content copied to clipboard
Return
true
if the label was removed; false
if the label was not found in the collection.
Parameters
label
The label to remove.