99AI/AIWebQuickDeploy/dist/common/utils/tools.js
2025-03-04 17:36:53 +08:00

9 lines
357 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.importDynamic = exports.isNotEmptyString = void 0;
function isNotEmptyString(value) {
return typeof value === 'string' && value.length > 0;
}
exports.isNotEmptyString = isNotEmptyString;
exports.importDynamic = new Function('modulePath', 'return import(modulePath)');