How to use the dgeni-packages/typescript/api-doc-types/MemberDoc.MemberDoc function in dgeni-packages

To help you get started, we’ve selected a few dgeni-packages examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github sbb-design-systems / sbb-angular / schematics / documentation / index.js View on Github external
function isPublicDoc(doc) {
    if (_isEnforcedPublicDoc(doc)) {
        return true;
    }
    if (_hasDocsPrivateTag(doc) || doc.name.startsWith('_')) {
        return false;
    }
    else if (doc instanceof MemberDoc.MemberDoc) {
        return !_isInternalMember(doc);
    }
    return true;
}
/** Gets the @docs-public tag from the given document if present. */