resolveIsPackage

Determines whether a symbol represents a module or package (Used as a helper for is(type == module) and is(type == package))

resolveIsPackage

Parameters

sym
Type: Dsymbol

the symbol to be checked

Return Value

Type: Package

the symbol which sym represents (or null if it doesn't represent a Package)

Meta