Quirrel4.53.0

deep

Deep compare and deep copy of tables, arrays and instances.

from "deep" import ...

Functions

copycopy(value): anyCopies tables and arrays deeply, as deep_clone() of underscore.nut does
copy_graphcopy_graph(value): anyCopies the object graph: shared parts stay shared, and an instance is copied by its _deepclone()
is_relaxed_equalis_relaxed_equal(a, b, [comparers: table|null]): anyCompares two values deeply: equal tables and arrays, and instances by their isEqual() method
is_strict_equalis_strict_equal(a, b, [comparers: table|null]): anyCompares as is_relaxed_equal() does, but numbers are equal only with the same type and the same bits