Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IEqualsDelta<T>

Type parameters

  • T

    value type

Hierarchy

  • IEqualsDelta

Index

Methods

Methods

eqDelta

  • eqDelta(o: T, eps?: number): boolean
  • Returns true if this value equals o with optional allowance for given tolerance eps.

    Parameters

    • o: T

      2nd value to test

    • Optional eps: number

      tolerance (usually defaults to DEFAULT_EPS)

    Returns boolean

Generated using TypeDoc