Hi @Pretty
Good day… 😀
See: https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/1438183/Global+Functions+and+Properties#GlobalFunctionsandProperties-typeof
{
"Id": 1076,
"this_is_an_array": [1, 2, 3, 4, 88],
"this_is_an_object": {
"key": "val"
},
"jobTitle": "Software engineer",
"firstName": "David",
"lastName": "villey",
"fullName": "Davidvilley",
"email_N": "Davidvilley@gmail.com",
"telephoneNumber": "+1-8474987109",
"this_is_a_boolean": true
}.mapValues((val, key) => {'type': val}.mapKeys((v, k) => typeof v))
This outputs the type as keyname
![]()
Hope this helps
Thanks,
EmEm