Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lib/utils/hasDataChanged"

Index

Variables

Functions

Variables

_

_: any

Functions

hasDataChanged

  • hasDataChanged<T>(newData: T[], oldData: T[], equality: function): any
  • Returns if there is any more or less data in the new data

    Type parameters

    • T

    Parameters

    • newData: T[]

      The new set of data

    • oldData: T[]

      The old set of data

    • equality: function

      Returns true if a and b are referring to the same object, not necessarily if it has changed

        • (a: T, b: T): boolean
        • Parameters

          • a: T
          • b: T

          Returns boolean

    Returns any

Generated using TypeDoc