// ets_tracing: off import type { Sync } from "./core.js" import { fold_ } from "./core.js" /** * Returns whether this effect is a success. */ export function isSuccess(self: Sync) { return fold_( self, () => false, () => true ) }