@unblessed/core
Version:
Platform-agnostic terminal UI core library with runtime dependency injection
18 lines (16 loc) • 477 B
JavaScript
;
// src/runtime.ts
function hasImageSupport(runtime) {
return runtime.images !== void 0;
}
function hasProcessSupport(runtime) {
return runtime.processes !== void 0;
}
function hasNetworkSupport(runtime) {
return runtime.networking !== void 0;
}
exports.hasImageSupport = hasImageSupport;
exports.hasNetworkSupport = hasNetworkSupport;
exports.hasProcessSupport = hasProcessSupport;
//# sourceMappingURL=runtime.cjs.map
//# sourceMappingURL=runtime.cjs.map