The OpenD Programming Language

Element.optionSelector

If a matching selector is found, it returns that Element. Otherwise, the returned object returns null for all methods.

class Element
final
MaybeNullElement!SomeElementType
optionSelector
(
SomeElementType = Element
)
(
string selector
,
string file = __FILE__
,
size_t line = __LINE__
)
if (
is(SomeElementType : Element)
)

Meta