Document.requireElementById

These functions all forward to the root element. See the documentation in the Element class.

class Document
final
SomeElementType
requireElementById
(
SomeElementType = Element
)
(
string id
,
string file = __FILE__
,
size_t line = __LINE__
)
if (
is(SomeElementType : Element)
)
out (ret) { assert (ret !is null); }

Meta