Wrap text in a comment of the given type.
text
type
Optional
comment('Hello\nWorld'); // '/**\n * Hello\n * World\n */' Copy
comment('Hello\nWorld'); // '/**\n * Hello\n * World\n */'
Wrap
textin a comment of the giventype.