Function: hashObj()
hashObj(
obj):number
Defined in: src/utils/iterables.ts:304
Determine a deterministic numeric hash, even for mutable objects.
ManimCE hash_obj relies on Python's hash; JavaScript has none, so this
builds a canonical string for the value (object keys sorted, sets sorted)
and folds it with a 32-bit FNV-1a hash.
Parameters
obj
unknown
Returns
number