Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Location

import type { Location } from "https://googleapis.deno.dev/v1/docs:v1.ts";

A particular location in the document.

interface Location {
index?: number;
segmentId?: string;
}

§Properties

§
index?: number
[src]

The zero-based index, in UTF-16 code units. The index is relative to the beginning of the segment specified by segment_id.

§
segmentId?: string
[src]

The ID of the header, footer or footnote the location is in. An empty segment ID signifies the document's body.