Open adascal opened 1 year ago
Because in js typeof null === 'object' we need additional check, otherwise Object.entries(args[saneParamName]) will fail with:
typeof null === 'object'
Object.entries(args[saneParamName])
TypeError: Cannot convert undefined or null to object
Because in js
typeof null === 'object'
we need additional check, otherwiseObject.entries(args[saneParamName])
will fail with: