Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

quick question about getAttrByName( )

If the requested attribute does not yet exist, this function logs an error message to the debugging console. Does anyone know if there is a way to shut this error logging off? Just my OCD bugging me while debugging my code....
1434686130
The Aaron
Pro
API Scripter
There isn't, unfortunately. You can do a getObj() before hand and check for undefined.
Thanks!