Skip to main content
Module

x/ts_morph/mod.ts>JSDocTag#getComment

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method JSDocTag.prototype.getComment
import { JSDocTag } from "https://deno.land/x/ts_morph@15.1.0/mod.ts";

Gets the tag's comment property. Use #getCommentText() to get the text of the JS doc tag comment if necessary.

Returns

string | ()[] | undefined