almostEqualNumberArrays MethodStatic

Test for match of two arrays of type number or Float64Array. Returns true if both arrays have the same length and have the same entries (or both are empty arrays).

almostEqualNumberArrays(a: Float64Array | number[], b: Float64Array | number[], testFunction: (p: number, q: number) => boolean): boolean

Parameter Type Description
a Float64Array | number[]  
b Float64Array | number[]  
testFunction (p: number, q: number) => boolean  

Returns - boolean

Defined in

Last Updated: 21 November, 2024