remove

Removes a cloud from the collection.

const c = clouds.add(...);
clouds.remove(c); // Returns true

Return

true if the cloud was removed; false if the cloud was not found in the collection.

Parameters

cloud

The cloud to remove.

See also