removeAll

fun removeAll(destroy: Boolean? = definedExternally)(source)

Removes all layers from this collection.

Parameters

destroy

whether to destroy the layers in addition to removing them. Default value - true

See also