Skip to main content
Module

x/deno2node/src/deps.deno.ts>Node#getStart

Compile your Deno project to run on Node.js.
Go to Latest
method Node.prototype.getStart
import { Node } from "https://deno.land/x/deno2node@v1.11.0/src/deps.deno.ts";

Gets the source file text position where the node starts that does not include the leading trivia (comments and whitespace).

Parameters

optional
includeJsDocComments: boolean
  • Whether to include the JS doc comments.

Returns

number