This is an overview of all the utility functions bound to the shopware global object. Utility functions provide many useful shortcuts for common tasks, see how to use them in your plugin here. Or see the code that registers them here
Returns a uuid string in hex format. Generated with uuid
Creates a throttled function that only invokes func at most once per every wait milliseconds.
General logging function which provides a unified style of log messages for developers. Please keep the log in mind. Messages will be displayed in the developer console when they're running the application in development mode.
The same as warn but instead of console.warn it uses console.error.
Converts a number to a formatted currency. Especially helpful for template filters.