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

Function normalizeOwnerKey

apps/sim/lib/execution/isolated-vm.ts:330–334  ·  view source on GitHub ↗
(ownerKey?: string)

Source from the content-addressed store, hash-verified

328}
329
330function normalizeOwnerKey(ownerKey?: string): string {
331 if (!ownerKey) return 'anonymous'
332 const normalized = ownerKey.trim()
333 return normalized || 'anonymous'
334}
335
336function normalizeOwnerWeight(ownerWeight?: number): number {
337 if (!Number.isFinite(ownerWeight) || ownerWeight === undefined) return 1

Callers 1

executeInIsolatedVMFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected