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