Object function reference

select_one

A reference entry for select_one

Object function · XPath

select_one(string expression) ⇒ mixed

Returns the first node selected by an XPath expression, or undefined when there is no match.