deno.com

method Deno.lint.SourceCode.getText

#SourceCode.getText(node?: Node): string

Get the source test of a node. Omit node to get the full source code.

Parameters #

#node: Node
optional

Return Type #

string