"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useAllPostOnboardingActionsCompleted = void 0;
const usePostOnboardingHubState_1 = require("./usePostOnboardingHubState");
/**
 *
 * @returns a boolean representing whether all the post onboarding actions have
 * been completed.
 */
function useAllPostOnboardingActionsCompleted() {
    const { actionsState } = (0, usePostOnboardingHubState_1.usePostOnboardingHubState)();
    return actionsState.every(action => action.completed || action.disabled);
}
exports.useAllPostOnboardingActionsCompleted = useAllPostOnboardingActionsCompleted;
//# sourceMappingURL=useAllPostOnboardingActionsCompleted.js.map