Package.isAncestorPackageOf

Checks if pkg is a sub-package of this

For example, if this qualifies to 'a1.a2' and pkg - to 'a1.a2.a3', this function returns 'true'. If it is other way around or qualified package paths conflict function returns 'false'.

class Package
final const
bool
isAncestorPackageOf
(
const Package pkg
)

Parameters

pkg
Type: Package

possible subpackage

Return Value

Type: bool

see description

Meta