I have a scenario where i need to check whether a variable is not null using java script
Now these variables can be generated automatically and their naming convention is going to be like below
**Attribute.1.Name='aaa'
Attribute.2.Name='aaa'
Attribute.3.Name=''**
and so on.
how do i validate something like this where i do not now the exact variable name. All i know is the pattern of the variable.
Code example
FunctionName({'Attribute.1.Name':'test','Attribute.2.Name':'test2'});
Thanks