Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

isEqualJson

isEqualJson(left, right): boolean

Whether two values a dump wrote are the same JSON: two records with the same fields and values, two lists alike in order, or two equal primitives. Compared in place rather than through two strings, since the room diffs every trait of every entity at each send. What an item’s data is compared with as two stacks merge.

Parameter Type
left unknown
right unknown

boolean