@servicenow/sdk - v4.4.1
    Preparing search index...
    interface ExportGetableNode {
        getDefaultKeyword(): Node<tsc.Node> | undefined;
        getDefaultKeywordOrThrow(message?: string | (() => string)): Node;
        getExportKeyword(): Node<tsc.Node> | undefined;
        getExportKeywordOrThrow(message?: string | (() => string)): Node;
        hasDefaultKeyword(): boolean;
        hasExportKeyword(): boolean;
        isDefaultExport(): boolean;
        isExported(): boolean;
        isNamedExport(): boolean;
    }

    Hierarchy (View Summary)

    Index

    Methods

    • Gets the default keyword or undefined if none exists.

      Returns Node<tsc.Node> | undefined

    • Gets the default keyword or throws if none exists.

      Parameters

      • Optionalmessage: string | (() => string)

      Returns Node

    • Gets the export keyword or undefined if none exists.

      Returns Node<tsc.Node> | undefined

    • Gets the export keyword or throws if none exists.

      Parameters

      • Optionalmessage: string | (() => string)

      Returns Node

    • If the node has the default keyword.

      Returns boolean

    • If the node has the export keyword.

      Returns boolean

    • Gets if this node is a default export of a file.

      Returns boolean

    • Gets if the node is exported from a namespace, is a default export, or is a named export.

      Returns boolean

    • Gets if this node is a named export of a file.

      Returns boolean