variable hasEsmimport { hasEsm } from "https://deno.land/x/polkadot@0.2.14/util/mod.ts"; true if the environment is ESM