GDExtensionInterfaceObjectHasScriptMethod typedef

GDExtensionInterfaceObjectHasScriptMethod = Pointer<NativeFunction<GDExtensionInterfaceObjectHasScriptMethodFunction>>

@name object_has_script_method @since 4.3

Checks if this object has a script with the given method.

@param p_object A pointer to the Object. @param p_method A pointer to a StringName identifying the method.

@returns true if the object has a script and that script has a method with the given name. Returns false if the object has no script.

Implementation

typedef GDExtensionInterfaceObjectHasScriptMethod =
    ffi.Pointer<
      ffi.NativeFunction<GDExtensionInterfaceObjectHasScriptMethodFunction>
    >;