MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / getNameStyle

Function getNameStyle

packages/logger/src/log.ts:41–42  ·  view source on GitHub ↗
(type: NodeType)

Source from the content-addressed store, hash-verified

39export const styleTime = (time: number): string => `\x1B[90;3m${time} ms\x1B[m`
40
41export const getNameStyle = (type: NodeType): string =>
42 type === NodeType.Signal ? STYLES.signalUnderline : STYLES.grayBackground
43
44export function getValueSpecifier(v: unknown): string {
45 if (typeof v === 'object') return ' %o'

Callers 6

logComputationDetailsFunction · 0.85
logInitialValueFunction · 0.85
logSignalValueFunction · 0.85
logSignalValueUpdateFunction · 0.85
getPropsInitLabelFunction · 0.85
getPropsKeyUpdateLabelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…