Home > @microsoft/api-extractor-model > ApiItem > getAssociatedPackage
ApiItem.getAssociatedPackage() method
If this item is an ApiPackage or has an ApiPackage as one of its parents, then that object is returned. Otherwise undefined is returned.
Signature:
getAssociatedPackage(): ApiPackage | undefined;
Returns:
ApiPackage | undefined