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