mirror of
https://github.com/vastxie/99AI.git
synced 2026-01-20 22:05:58 +08:00
v4.1.0
This commit is contained in:
8
AIWebQuickDeploy/dist/common/utils/tools.js
vendored
Normal file
8
AIWebQuickDeploy/dist/common/utils/tools.js
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
"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)');
|
||||
Reference in New Issue
Block a user