How to check custom field not empty within params?
You’re just missing the : at the end of :notempty: in your second example. This will work:

{% set params = { section: 'sectionName', customField: ':notempty:', limit: 10} %}