"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
function timer(func) {
  const start = (/* @__PURE__ */ new Date()).getTime();
  const val = func();
  const end = (/* @__PURE__ */ new Date()).getTime();
  const total = end - start;
  return { time: total, value: val };
}
exports.timer = timer;
//# sourceMappingURL=lib-src-timer.cjs.map
