Utils
Helper module for misc operations
Require
Section titled “Require”If the concord folder is in the root directory of your game, you can import this module like so:
Utils = require('concord.utils')Methods
Section titled “Methods”| Method | Description |
|---|---|
| Utils.error | Raises a formatted error. |
| Utils.shallowCopy | Copies keys from orig into target. Existing keys in target are overwritten. |
| Utils.loadNamespace | Requires files and stores them in a namespace table. |