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

Function getValueSpecifier

packages/logger/src/log.ts:44–48  ·  view source on GitHub ↗
(v: unknown)

Source from the content-addressed store, hash-verified

42 type === NodeType.Signal ? STYLES.signalUnderline : STYLES.grayBackground
43
44export function getValueSpecifier(v: unknown): string {
45 if (typeof v === 'object') return ' %o'
46 if (typeof v === 'function') return ' %O'
47 return ''
48}
49
50export function getNodeState(owner: Solid.Owner | Solid.Signal | NodeState): NodeState {
51 if ('type' in owner && 'typeName' in owner && 'name' in owner) return owner

Callers 6

logPrevValueFunction · 0.85
logComputationDetailsFunction · 0.85
logInitialValueFunction · 0.85
logSignalValueFunction · 0.85
logSignalValueUpdateFunction · 0.85
getPropLabelFunction · 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…