• Default implementation of the equal function used by tansu when a store changes, to know if listeners need to be notified. Returns false if a is a function or an object, or if a and b are different according to Object.is. Otherwise, returns true.

    Type Parameters

    • T

    Parameters

    • a: T

      First value to compare.

    • b: T

      Second value to compare.

    Returns boolean

    true if a and b are considered equal.

Generated using TypeDoc