MCPcopy
hub / github.com/react-component/form / getNestedFields

Method getNestedFields

src/createFieldsStore.js:199–202  ·  view source on GitHub ↗
(names, getter)

Source from the content-addressed store, hash-verified

197 }
198
199 getNestedFields(names, getter) {
200 const fields = names || this.getValidFieldsName();
201 return fields.reduce((acc, f) => set(acc, f, getter(f)), {});
202 }
203
204 getNestedField(name, getter) {
205 const fullNames = this.getValidFieldsFullName(name);

Callers 1

FieldsStoreClass · 0.95

Calls 1

getValidFieldsNameMethod · 0.95

Tested by

no test coverage detected