🌈 Create new beautiful Compose Gradients with our new wesite ->
Function

findNearestAncestor

Finds the nearest traversable ancestor with a matching key.

findNearestAncestor

Source set: Common
public fun DelegatableNode.findNearestAncestor(key: Any?): TraversableNode?

Finds the nearest traversable ancestor with a matching key.

findNearestAncestor

Source set: Common
public fun <T> T.findNearestAncestor(): T? where T : TraversableNode

Finds the nearest ancestor of the same class and key.