• Compares 2 numbers. Returns true if their absolute value is less than or equal to maxDiff or if they are both NaN or the same sign infinity.

    Parameters

    • a: number
    • b: number
    • maxDiff: number = 0

    Returns boolean

Generated using TypeDoc