MCPcopy Create free account
hub / github.com/Devorein/quizen / setObjectValues

Function setObjectValues

src/utils/generateCompleteQuestion.ts:18–22  ·  view source on GitHub ↗

* Updates the parent object to use the 2nd value in tuple if the value is undefined for a field in 1st value * @param parent Parent object * @param arr Array of tuple [parent object field, value]

(parent: any, arr: [string, any][])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

generateCompleteQuestionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected