mylingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
10 lines • 339 B
JavaScript
import NullableDefault from "./NullableDefault";
export default (defaults, key, editor) => {
const result = defaults[key];
if (result instanceof NullableDefault)
return editor ? result.value : undefined;
if (editor)
return result ?? "";
return result;
};
//# sourceMappingURL=getDefaultValue.js.map