effx
API reference@effx/ir

normalize

API reference for @effx/ir/normalize

normalize.ts overview


Exports Grouped by Category


utils

normalize

Idempotent: normalize(normalize(x)) == normalize(x). Duplicate ids with differing content are kept.

Signature

declare const normalize: (ir: ApplicationIR) => ApplicationIR

normalizeNode

Normalizes set-valued fields inside a node; ordered fields are untouched.

Signature

declare const normalizeNode: (node: Node) => Node

On this page