MCPcopy
hub / github.com/anomalyco/models.dev / weightsText

Function weightsText

packages/web/src/shared.ts:51–54  ·  view source on GitHub ↗
(value?: boolean)

Source from the content-addressed store, hash-verified

49}
50
51export function weightsText(value?: boolean) {
52 if (value === undefined) return "-";
53 return value ? "Open" : "Closed";
54}
55
56export function renderModalityIcon(modality: string) {
57 const label =

Callers 2

ModelTableFunction · 0.85
WeightsValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected