Kaya 0.5.2 reference for ElementTree::findElement

List of functions and data types in ElementTree

Maybe<Int> findElement(ElementTree block, String subname)

Arguments

Usage

Gets the index of the first named sub-element within the parent element, or nothing if the element does not have a sub-element with that name.

Generators will be evaluated to see if their root element is the right element.

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya