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

Function isRedisStorage

apps/sim/lib/core/storage/storage.ts:42–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 * Use this for conditional logic that depends on storage type.
41 */
42export function isRedisStorage(): boolean {
43 return getStorageMethod() === 'redis'
44}
45
46/**
47 * Check if database is the configured storage method.

Callers 1

requireRedisFunction · 0.85

Calls 1

getStorageMethodFunction · 0.85

Tested by

no test coverage detected