kotest-property / io.kotest.property / RTree

RTree

data class RTree<out A>

Constructors

<init>

RTree(value: A, children: Lazy<List<RTree<A>>> = lazy { emptyList<RTree<A>>() })

Properties

children

val children: Lazy<List<RTree<A>>>

value

val value: A

Extension Functions

map

fun <A, B> RTree<A>.map(f: (A) -> B): RTree<B>