Leahy
6 years agoContributor
Test if variables are passed to function
I am writing a function but need to ensure all the proper variables have been passed with the call to the function... From the function..... // Obtains a variable collection Variables = Project...
- 6 years ago
Hi,
Adding to the thread. If you want to check the JS variables, use this code:
if (typeof yourVar === 'undefined') { }