{"ScriptPreparationCode":"function lodashString(input) {\r\n const documents = _.get(input, \u0027contextMenu.data.documents\u0027, []);\r\n return documents;\r\n}\r\n\r\nfunction lodashArray(input, key) {\r\n const documents = _.get(input, [\u0027contextMenu\u0027, \u0027data\u0027, \u0027documents\u0027], []);\r\n return documents;\r\n}","TestCases":[{"Name":"STRING","Code":"const input = { contextMenu: { data: { documents: [{ id: \u0027doc\u0027 }] } } };\r\nlodashString(input);","IsDeferred":false},{"Name":"ARRAY","Code":"const input = { contextMenu: { data: { documents: [{ id: \u0027doc\u0027 }] } } };\r\nlodashArray(input);","IsDeferred":false}]}