hosanna-ui-docs - v0.9.0
    Preparing search index...
    • Calculates the absolute difference (delta) between two values.

      • For arrays, computes the difference between the sums of the first two elements.
      • For numbers, computes the absolute difference.
      • For other types, returns 0.

      Parameters

      • fromValue: any

        The starting value (number or array).

      • toValue: any

        The ending value (number or array).

      Returns any

      The absolute difference between the values.