/// Implements the `in` opcode and AS3 operator.
///
/// By default, this just calls `has_property`, but may be overridden by
/// other object types to change the behavior of the `in` operator only.
Implements the `in` opcode and AS3 operator.
By default, this just calls `has_property`, but may be overridden by
other object types to change the behavior of the `in` operator only.
Implements the ` in ` opcode and AS3 operator . By default this just calls ` has_property ` but may be overridden by other object types to change the behavior of the ` in ` operator only .
fn has_property_via_in(
        self,
        _activation: &mut Activation<'_, 'gc, '_>,
        name: &Multiname<'gc>,
    ) -> Result<bool, Error> {
        Ok(self.has_property(name))
    }
fn has_property_via_in ( self , _activation : & mut Activation < ' _ , ' gc , ' _ > , name : & Multiname < ' gc > , ) -> Result < bool , Error > { Ok ( self . has_property ( name ) ) }
Implements the `in` opcode and AS3 operator.
Implements the ` in ` opcode and AS3 operator .
self
_activation
&mut Activation<'_, 'gc, '_>
name
&Multiname<'gc>