@unblessed/core
Version:
Platform-agnostic terminal UI core library with runtime dependency injection
14 lines (13 loc) • 389 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;
}
export { hasImageSupport, hasNetworkSupport, hasProcessSupport };
//# sourceMappingURL=runtime.js.map
//# sourceMappingURL=runtime.js.map