Deep equality comparison for OCF objects with normalization.
This comparison:
First OCF object
Second OCF object
True if objects are semantically equal
const obj1 = { quantity: '100.0000000000', name: 'Test' }; const obj2 = { quantity: '100', name: 'Test' }; ocfDeepEqual(obj1, obj2); // true - normalized numbers match Copy
const obj1 = { quantity: '100.0000000000', name: 'Test' }; const obj2 = { quantity: '100', name: 'Test' }; ocfDeepEqual(obj1, obj2); // true - normalized numbers match
Deep equality comparison for OCF objects with normalization.
This comparison: