"use strict"
Object.defineProperty(exports, "__esModule", { value: true })
exports.isDone = void 0
// tracing: off
const core_1 = require("../Effect/core")
/**
 * Checks for completion of this Promise. Produces true if this promise has
 * already been completed with a value or an error and false otherwise.
 */
function isDone(promise) {
  return (0, core_1.succeedWith)(() => promise.state.get._tag === "Done")
}
exports.isDone = isDone
//# sourceMappingURL=isDone.js.map
