@umbraco-cms/backoffice

    Function defaultMemoization

    • Function

      defaultMemoization

      Parameters

      • previousValue: any

        The previous value to compare.

      • currentValue: any

        The current value to compare.

      Returns boolean

      • Returns true if the values are identical.
      • Default memoization function to compare two values. This checks if the two values are of type 'object' (Array or Object) and compares them using a naive JSON string comparison. If not then it compares the two values using strict equality.
    MMNEPVFCICPMFPCPTTAAATR