6.15 Module properties
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Modules
        • Module properties
          • current_module/1
          • module_property/2
          • set_module/1
    • Packages
Availability:built-in
Source[nondet]current_module(?Module)
True if Module is a currently defined module. This predicate enumerates all modules, whether loaded from a file or created dynamically. Note that modules cannot be destroyed in the current version of SWI-Prolog.