commonMain.Remove.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of selection Show documentation
Show all versions of selection Show documentation
A collection of drawing/charting utilities
The newest version!
package com.juul.krayon.selection
import com.juul.krayon.element.Element
/** See analogous [d3 function](https://github.com/d3/d3-selection#selection_remove). */
public fun > S.remove(): S =
each { parent?.removeChild(this) }