WithChildren

interface WithChildren<out T>

Properties

children
Link copied to clipboard
abstract val children: List<T>

Inheritors

Documentable
Link copied to clipboard
DocTag
Link copied to clipboard
DocumentationNode
Link copied to clipboard
TagWrapper
Link copied to clipboard
ContentNode
Link copied to clipboard
PageNode
Link copied to clipboard

Extensions

childrenOfType
Link copied to clipboard
inline fun <T> WithChildren<*>.childrenOfType(): List<T>
firstChildOfType
Link copied to clipboard
inline fun <T> WithChildren<*>.firstChildOfType(): T
inline fun <T> WithChildren<*>.firstChildOfType(predicate: (T) -> Boolean): T
firstChildOfTypeOrNull
Link copied to clipboard
inline fun <T> WithChildren<*>.firstChildOfTypeOrNull(): T?
inline fun <T> WithChildren<*>.firstChildOfTypeOrNull(predicate: (T) -> Boolean): T?
firstMemberOfType
Link copied to clipboard
inline fun <T : WithChildren<*>> WithChildren<WithChildren<*>>.firstMemberOfType(): T
inline fun <T : WithChildren<*>> WithChildren<WithChildren<*>>.firstMemberOfType(predicate: (T) -> Boolean): T
firstMemberOfTypeOrNull
Link copied to clipboard
inline fun <T : WithChildren<*>> WithChildren<WithChildren<*>>.firstMemberOfTypeOrNull(): T?
withDescendants
Link copied to clipboard
@JvmName(name = withDescendantsProjection)
fun WithChildren<*>.withDescendants(): Sequence<Any?>
@JvmName(name = withDescendantsAny)
fun WithChildren<Any>.withDescendants(): Sequence<Any>