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

Function extractSubBlockRest

apps/sim/lib/workflows/comparison/normalize.ts:493–503  ·  view source on GitHub ↗
(subBlock: Record<string, unknown>)

Source from the content-addressed store, hash-verified

491 * @returns SubBlock fields excluding value and is_diff
492 */
493export function extractSubBlockRest(subBlock: Record<string, unknown>): Record<string, unknown> {
494 const {
495 value: _v,
496 is_diff: _sd,
497 type: _type,
498 ...rest
499 } = subBlock as SubBlockWithDiffMarker & {
500 type?: unknown
501 }
502 return rest
503}
504
505/**
506 * Normalizes a workflow state for comparison or hashing.

Callers 2

normalizeWorkflowStateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected