getPropertyByPath

fun Element.getPropertyByPath(vararg names: String?): Element?(source)

Traverses a path of Elements based on their names by monadically either calling getProperty (if the name is not null) or taking the single child (if the name is null).