// src/utils/bagFunctions.ts
var resolve = (children, bag) => {
  if (typeof children === "function") {
    return children(bag);
  }
  return children ?? void 0;
};
var BagFunctionUtil = {
  resolve
};
export {
  BagFunctionUtil
};
//# sourceMappingURL=bagFunctions.js.map