{"ScriptPreparationCode":"var foods = [\u0027biryani\u0027, \u0027breads\u0027, \u0027tandoori\u0027, \u0027pulao\u0027, \u0027dosa\u0027, \u0027idli\u0027]\r\n function isEmpty(value) {\r\n const type = typeof val;\r\n if ((value !== null \u0026\u0026 type === \u0027object\u0027) || type === \u0027function\u0027) {\r\n const properties = Object.keys(value);\r\n if (properties.length === 0 || properties.size === 0) { \r\n return true;\r\n } \r\n } \r\n return !value;\r\n}","TestCases":[{"Name":"Native","Code":"isEmpty(foods)","IsDeferred":false},{"Name":"Lodash","Code":"_.isEmpty(foods)","IsDeferred":false}]}