[#miniscript-Node-IsValidTopLevel] = xref:miniscript.adoc[miniscript]::xref:miniscript/Node.adoc[Node]::IsValidTopLevel :relfileprefix: ../../ :mrdocs: Check whether this node is valid as a script on its own. == Synopsis Declared in `<script/miniscript.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool IsValidTopLevel() const; ---- == Return Value True if this node is valid and of base type B. [.small]#Created with https://www.mrdocs.com[MrDocs]#