/// Indicates whether or not a property exists on an object.
Indicates whether or not a property exists on an object.
Indicates whether or not a property exists on an object .
fn has_property(self, name: &Multiname<'gc>) -> bool {
        if self.has_own_property(name) {
            true
        } else if let Some(proto) = self.proto() {
            proto.has_own_property(name)
        } else {
            false
        }
    }
fn has_property ( self , name : & Multiname < ' gc > ) -> bool { if self . has_own_property ( name ) { true } else if let Some ( proto ) = self . proto ( ) { proto . has_own_property ( name ) } else { false } }
Indicates whether or not a property exists on an object.
Indicates whether or not a property exists on an object .
self
name
&Multiname<'gc>