Version: 
Back to list

Core :: hasProperty

Synopsis

   Return true if the property was found on the occurrence, will not throw any exception except if the entity does not exist.

GUI Dialog

   

Script function

   core.hasProperty(entity, propertyName) -> propertyFound

Parameters

   entity (Entity) : An entity that support properties
   propertyName (String) : Name of the property

Return value

   propertyFound (Boolean) : True if the entity has the property asked, else False