Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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@20.0.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