variable isPromiseimport { isPromise } from "https://deno.land/x/polkadot@0.2.17/util/is/promise.ts";