mirror of
https://github.com/vastxie/99AI.git
synced 2024-11-16 11:42:25 +08:00
9 lines
357 B
JavaScript
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)');
|