UNPKG

@react-form-builder/core

Version:

React JSON Schema Form Builder to create complex, validated, reusable forms with no deep React knowledge required

17 lines (16 loc) 469 B
import { isNull as o } from "../../../utils/tools.js"; const r = /* @__PURE__ */ new Map(); function c(n) { const t = r.get(n); if (t) return t; const e = new Function("e", "args", "...userArgs", `return (async function(){ ${n} })()`); return r.set(n, e), e; } const i = (n) => typeof n == "object" && !o(n) && "type" in n && n.type === "fn"; export { c as getArgumentFunction, i as isFunctionArgumentValue }; //# sourceMappingURL=functionArgument.js.map