Jump to content

Resource exports


AcidbRain

Recommended Posts

I'm trying to determine whether a resource function is exported or not.

Unfortunately, calling type(exports["resourcename"].functionNotExported) will return "function" even when functionNotExported isn't marked as exportable in meta.xml.

Of course I could issue a pcall, but that is not the ideal solution. Is there any other way to know if a function has been exported?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...