Forum Discussion
Abhishek_Soni37
3 years agoContributor
You can use the below expression to see if the element is an object or not.
typeof(input)
On the other hand, if you want to check if a specific element/path exist or not, use below. Docs
$.hasPath(“$putThePath”)
Let us know if it helps.
dd_snaplogic
3 years agoNew Contributor II
No when an element doesn’t exists and the null-safe option is enabled it is giving me null as a value no matter what condition I’m passing.
ie typeof($group[6]) will return null as well $.hasPath($group[6]) will return null
Related Content
- 11 months ago
- 2 years ago
- 2 years ago
- 2 years ago