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

takeSelection

import { takeSelection } from "https://raw.githubusercontent.com/takker99/scrapbox-userscript-std/0.14.1/browser/dom/mod.ts";
const takeSelection: () => Selection;