Miscellaneous functions

  • assert(condition)
    Logs a detailed error message to the console if something is not true.
  • print(message)
    Logs a basic string to the console without extra decorations like timestamp or the module name.
  • p(value)
    A global shorthand for trx.console.log, for quick debugging from the console. Logs any value at INFO; a table is pretty-printed across lines.