Project

Profile

Help

Feature #3569

Updated by Debbie Lockett about 4 years ago

It would be nice to be able to test if a property is present so that `ixsl:get()` does not issue a message in the console. I tried `map:contains($obj, 'prop')` but than the compiler complains that `obj` is not a map. So I wrote a small Javascript wrapper that performs the test: 

 

 ~~~ 
     
     return object.hasOwnProperty(property); 
 
 ~~~ 
 

Back