isTopLevel property

bool get isTopLevel

Whether this declaration is top-level.

A declaration is considered top-level if its owner is a LibraryMirror.

Required capabilities: isTopLevel does not require any capabilities.

Implementation

bool get isTopLevel;