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

getLineId

import { getLineId } from "https://raw.githubusercontent.com/takker99/scrapbox-userscript-std/0.14.10/mod.ts";

Get the line id from value

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

const getLineId: <T extends HTMLElement>(value?: number | string | T) => string | undefined;