MCPcopy Index your code
hub / github.com/simstudioai/sim / getKind

Function getKind

apps/sim/lib/execution/payloads/store.ts:43–48  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

41}
42
43function getKind(value: unknown): LargeValueKind {
44 if (typeof value === 'string') return 'string'
45 if (Array.isArray(value)) return 'array'
46 if (value && typeof value === 'object') return 'object'
47 return 'json'
48}
49
50function getPreview(value: unknown): unknown {
51 if (typeof value === 'string') {

Callers 1

storeLargeValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected