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

Function sanitizeEntityTypes

apps/sim/lib/billing/retention.ts:36–38  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

34}
35
36function sanitizeEntityTypes(value: unknown): string[] {
37 return Array.isArray(value) ? value.filter((t): t is string => typeof t === 'string') : []
38}
39
40/**
41 * Expand a stored stage policy into its effective form. A stage redacts nothing

Callers 2

toEffectiveStageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected