Skip to content
ConcordConcordConcord

Utils

Helper module for misc operations

If the concord folder is in the root directory of your game, you can import this module like so:

Utils = require('concord.utils')
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.