Intermact API Reference / @intermact/core / assertSerializableParams
Function: assertSerializableParams()
assertSerializableParams(
params):void
Defined in: packages/core/src/animation/orchestration.ts:120
Assert that params is JSON round-trippable (no functions/symbols/undefined/ bigint/non-finite/Map/Set/Date/class instances/cycles). Custom animations must survive serialize → deserialize, so non-serializable params are rejected at the authoring boundary with a clear, pathed error instead of failing later in serialize (design.md §18, §13.5.2).
Parameters
params
unknown
Returns
void