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

getLineNo

import { getLineNo } from "https://raw.githubusercontent.com/takker99/scrapbox-userscript-std/0.14.1/browser/dom/mod.ts";

Get the line number from value

If the line number can't be found, return undefined

function getLineNo<T extends HTMLElement>(value?: number | string | T);
§
getLineNo<T extends HTMLElement>(value?: number | string | T)
[src]

§Type Parameters

§
T extends HTMLElement
[src]

§Parameters

§
value?: number | string | T optional
[src]
  • value the line number of which you want to get