Skip to content

Enhancement: Some sort of hasFunction function for scripted classes #211

@AbnormalPoof

Description

@AbnormalPoof

So you can do something like:

if (class.hasFunction('func'))
{
  // logic would go here
}

I believe right now you have to directly call the function in a try/catch so classes that don't have the function don't crash, which isn't that intuitive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions