changeDefaultComparison Function
Changes the default comparison method that will be used for all states.
This can be one of the predefined comparison types: ‘equals’ for deep comparison, ‘strict’ for strict equality, or a custom comparison function
@param comparison: Comparison
The comparison method to be set as the default
See also: Comparison
API
function changeDefaultComparison(comparison: Comparison): void;
Example
import {changeDefaultComparison} from '@bitfiber/rx';
changeDefaultComparison('strict');