Module

x/grammy/platform.deno.ts>isDeno

The Telegram Bot Framework.
Go to Latest
variable isDeno
import { isDeno } from "https://deno.land/x/grammy@v1.10.1/platform.deno.ts";

Are we running on Deno or in a web browser?