"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isPromiseFulfilled = isPromiseFulfilled;
exports.isPromiseRejected = isPromiseRejected;
exports.isDefined = isDefined;
exports.isEvmProvider = isEvmProvider;
var ethers_1 = require("ethers");
function isPromiseFulfilled(promiseSettledResult) {
    return promiseSettledResult.status === "fulfilled";
}
function isPromiseRejected(promiseSettledResult) {
    return promiseSettledResult.status === "rejected";
}
function isDefined(input) {
    return input !== null && input !== undefined;
}
function isEvmProvider(provider) {
    return provider instanceof ethers_1.providers.Provider;
}
//# sourceMappingURL=TypeGuards.js.map