ImportUtil

From MiniScript Wiki
Revision as of 17:20, 31 March 2025 by Redspark (talk | contribs) (Initial Page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This system module provides a single global function to help with importing other modules into larger programs. See Import for more information.

Global Function

Name Description
ensureImport Imports a module into the global scope. This ensures that the module is imported only once.


Example

  import "importUtil"
  ensureImport "events"