ATLYSS TechPendium

Viewing old revision of Module:Utils

You are viewing an old revision of this page from 1/22/2026, 10:58:24 AM.

View latest version
This Module contains Internal Wiki logic and must be loaded using require keyword inside other logic modules.
Note that require supports only static imports.
This module can't be {{#invoke}}-ed.
exports.resolveArgs = function(args) {
    if (typeof args == "string") return { "0": args };
    return args;
}

exports.isModuleEmpty = function(mod) {
    return !mod || Object.keys(mod).length === 0;
}
Last Edited by LiveGobe on 1/22/2026, 10:58:24 AM

This page categories: