var t = Object.defineProperty;
var l = (r, e) => t(r, "name", { value: e, configurable: !0 });
import { ScalarType as o } from "../scalar.js";
import { isMessage as g } from "../is-message.js";
function f(r, e) {
  return g(e) || !r.fieldWrapper ? e : r.fieldWrapper.wrapField(e);
}
l(f, "wrapField");
o.DOUBLE, o.FLOAT, o.INT64, o.UINT64, o.INT32, o.UINT32, o.BOOL, o.STRING, o.BYTES;
export {
  f as wrapField
};
