Returns if the currently running package is published or not
Useful for changing behaviour/API endpoints based on whether the package is published or not
Example: var endPoint = Utility.packages.isPublished() ? "https://example.com/data" : "http://localhost:3000";
Returns if the currently running package is published or not
Useful for changing behaviour/API endpoints based on whether the package is published or not
Example: var endPoint = Utility.packages.isPublished() ? "https://example.com/data" : "http://localhost:3000";